Jump to content

euionut

Membru
  • Posts

    22
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

euionut's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

1

Community Answers

  1. Salut jucatori de SA-MP! Va cer ajutorul in a putea rezolva un bug la care ma chinui de aproximativ 2 saptamani sa il rezolv. O sa va explic cat mai scurt toata problema care o am. Daca creez obiecte cu CreateObject nu am nici o problema pe server dar cu CreateDynamicObject de la un anumit timp dupa ce este pornit serverul(cred) obiectele cu CreateDynamicObject se spawneaza foarte greu... Trebuie sa fi chiar langa ele. Am incercat foarte multe pluginuri de streamer de la Incognito si fara nici un rezultat. Am uitat sa precizez ca gamemode-ul este un edit de la BigZone. Multumesc!
  2. Buna ziua. As avea nevoie de putin ajutor din partea voastra... Vreau sa creez sistem de apartamente ca pe b-zone in zona BaySide LS dar problema cu care ma confrunt este mapa... Mapa este facuta in Texture Studio cu CreateDynamicObject dar problema e ca am undeva la 2.000 obiecte intr-o singura cladire si objectele se spawneaza cam greu. Ceva sugestii? Multumesc. P.S: Mapa este bagata intr-un filterscript.
  3. Am reusit! Multumesc de ajutor!
  4. Din pacate nu functioneaza X_X
  5. Problema intalnita (descriere): Nu reusesc sa inchid un vehicul pentru toti jucatorii online dar cu exceptia celui care o spawneaza.Ero(area / rile) / warning-(ul / urile): -Liniile de cod / sursa / script-ul(obligatoriu): CMD:work(playerid, params[]) { JobVeh[playerid] = AddStaticVehicleEx(448, Xf,Yf,Zf, 90,-1,-1, 90); for(new i=0; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SetVehicleParamsForPlayer(JobVeh[playerid],i,0,1); } } Am mai incercat si: CMD:work(playerid, prams[]) { JobVeh[playerid] = AddStaticVehicleEx(448, Xf,Yf,Zf, 90,-1,-1, 90); SetVehicleParamsEx_Fixed(JobVeh[playerid], &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective) } Imagini / Video (optional):Ati incercat sa rezolvati singur?: Da.
  6. Uite... Am incercat urmatorul script si nu functioneaza X_X for(new i=0; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1); }
  7. Am incercat in diferite moduri dar nu am reusit nimica x_X
  8. Salut! As dori sa ma ajutati cu un script. Ca la fiecare job la care este spawnat un vehicul de catre un jucator doar jucatorul care a spawnat vehiculul sa poata intra in el, pentru restul jucatorilor sa fie vehiculul blocat, ca exemplu va dau jobul Farmer de pe Bugged. Am incercat sa fac ceva cu "SetVehicleParamsForPlayer" dar din pacate nu am reusit. Multumesc!
  9. Am incercat... stock IsPlayerConnectedEx(const playerid) { if(IsPlayerConnected(playerid) && playerVariables[playerid][pStatus] >= 1) return 1; return 0; }Si nu primesc nici o eroare...
  10. Folosesc Sscanf Gen /fish CMD:fish(playerid, params[]) { if(IsPlayerConnectedEx(playerid)) { if(playerVariables[playerid][pJob] == 3 && !IsPlayerInAnyVehicle(playerid) && playerVariables[playerid][pFishing] == 0) { if(IsPlayerInRangeOfPoint(playerid,6.0,373.6653,-2085.0105,7.8359)) { playerVariables[playerid][pFishing] = 1; SendClientMessage(playerid, COLOR_WHITE, "Acuma sunteti la pescuit. Va dura cateva secunde pentru a prinde un peste."); SetTimerEx("Fishing", 7000, false, "d", playerid); TogglePlayerControllable(playerid, 0); ApplyAnimation(playerid,"SWORD","sword_block",50.0 ,0,1,0,1,1); SetPlayerAttachedObject(playerid, 0,18632,6,0.079376,0.037070,0.007706,181.482910,0.000000,0.000000,1.000000,1.000000,1.000000); format(szMessage, sizeof(szMessage), "~n~~n~~n~~n~~n~~n~~n~~n~~w~PESCUIESTI..."); GameTextForPlayer(playerid, szMessage, 7000, 3); playerVariables[playerid][pAnimation] = 1; playerVariables[playerid][pFreezeTime] = -1; playerVariables[playerid][pFreezeType] = 3; } } } return 1; }Sau /stats CMD:stats(playerid, params[]) { if(IsPlayerConnectedEx(playerid)) { new param1[32],param2[32],param3[32],param100[32]; new nxtlevel = playerVariables[playerid][pLevel]; new expamount = nxtlevel*levelexp; switch(playerVariables[playerid][pGender]) { case 1: param2 = "Barbat"; case 2: param2 = "Femeie"; default: param2 = "Unknown"; } new param20[182]; if(playerVariables[playerid][pPhoneNumber] != -1) { format(param20,sizeof(param20),"%d",playerVariables[playerid][pPhoneNumber]); } else { param20 = "None"; } if(playerVariables[playerid][pJob] == 0) { param1 = "Unemployed"; } else { strcpy(param1, jobVariables[playerVariables[playerid][pJob]][jJobName], sizeof(param1)); } SendClientMessage(playerid, COLOR_TEAL, "--------------------------------------------------------------------------------------------------------------------------------"); format(szMessage, sizeof(szMessage), "%s | Respect Points: %d/%d | Level: %d | Playing hours: %d | Phone number: %s | Job: %s",playerVariables[playerid][pNormalName],playerVariables[playerid][pRPoints], expamount, playerVariables[playerid][pLevel], playerVariables[playerid][pPlayingHours],param20,param1); SendClientMessage(playerid, COLOR_WHITE, szMessage); if(playerVariables[playerid][pGroup] < 1) { param1 = "None"; param2 = "None"; } else { format(param1, sizeof(param1), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupName]); switch(playerVariables[playerid][pGroupRank]) { case 1: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName1]); case 2: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName2]); case 3: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName3]); case 4: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName4]); case 5: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName5]); case 6: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName6]); case 7: format(param2, sizeof(param2), "%s", groupVariables[playerVariables[playerid][pGroup]][gGroupRankName7]); } } if(playerVariables[playerid][pWalkieTalkie] == -1) param3 = "None"; else if(playerVariables[playerid][pWalkieTalkie] == 0) param3 = "Disabled"; else format(param3, sizeof(param3), "#%d khz", playerVariables[playerid][pWalkieTalkie]); new donator[256]; if(playerVariables[playerid][pDonate] == 0) donator = "No"; else format(donator, sizeof(donator), "Yes"); format(szMessage, sizeof(szMessage), "Group: %s | Rank: %s (%d) | Bank: $%s | Cash: $%s | Materials: %d | Radio: %s", param1, param2, playerVariables[playerid][pGroupRank], NumberFormat(playerVariables[playerid][pBankMoney]), NumberFormat(playerVariables[playerid][pMoney]), playerVariables[playerid][pMaterials], param3); SendClientMessage(playerid, COLOR_WHITE, szMessage); if(playerVariables[playerid][pGroup] == 1 || playerVariables[playerid][pGroup] == 2 || playerVariables[playerid][pGroup] == 3) { format(szMessage, sizeof(szMessage), "Credit: $%d | Warns: %d/3 | Lawer Points: %d/3 | Premium: %s (%d points) | FWarns: %d/3 | FpUnish: %d/40", playerVariables[playerid][pPhoneCredit],playerVariables[playerid][pWarns],playerVariables[playerid][pRobPoints],donator,playerVariables[playerid][pPremiumPoints],playerVariables[playerid][pFWarns],playerVariables[playerid][pFPunish]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } else { if(playerVariables[playerid][pDonate] == 1) { format(szMessage, sizeof(szMessage), "Credit: $%d | Warns: %d/3 | Rob Points: %d/8 | Premium: %s (%d points) | FWarns: %d/3 | FpUnish: %d/40", playerVariables[playerid][pPhoneCredit],playerVariables[playerid][pWarns],playerVariables[playerid][pRobPoints],donator,playerVariables[playerid][pPremiumPoints],playerVariables[playerid][pFWarns],playerVariables[playerid][pFPunish]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } else { format(szMessage, sizeof(szMessage), "Credit: $%d | Warns: %d/3 | Rob Points: %d/10 | Premium: %s (%d points) | FWarns: %d/3 | FpUnish: %d/40", playerVariables[playerid][pPhoneCredit],playerVariables[playerid][pWarns],playerVariables[playerid][pRobPoints],donator,playerVariables[playerid][pPremiumPoints],playerVariables[playerid][pFWarns],playerVariables[playerid][pFPunish]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } } if(playerVariables[playerid][pClan] < 1) { param1 = "None"; param100 = "None"; } else { format(param1, sizeof(param1), "%s", clanVariables[playerVariables[playerid][pClan]][cClanName]); switch(playerVariables[playerid][pClanRank]) { case 1: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName1]); case 2: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName2]); case 3: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName3]); case 4: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName4]); case 5: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName5]); case 6: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName6]); case 7: format(param100, sizeof(param100), "%s", clanVariables[playerVariables[playerid][pClan]][cClanRankName7]); } } format(szMessage, sizeof(szMessage), "House: %d | Business: %d | Drugs: %dg | Clan: %s | Rank: %s (%d)",getPlayerHouseID(playerid), getPlayerBusinessID(playerid),playerVariables[playerid][pDrugs], param1, param100,playerVariables[playerid][pClanRank]); SendClientMessage(playerid, COLOR_WHITE, szMessage); if(playerVariables[playerid][pCarModel1] >= 400) { new zile = playerVariables[playerid][pCarDay]*50; new km = playerVariables[playerid][pCarKM]/10; new pret = 5000+zile+km; format(szMessage, sizeof(szMessage), "Model1: %s | Id: %d | Zile: %d | Km: %d | Asigurare: $%d (%d puncte)", VehicleNames[playerVariables[playerid][pCarModel1] - 400], playerVariables[playerid][pCarID1], playerVariables[playerid][pCarDay], playerVariables[playerid][pCarKM], NumberFormat(pret), playerVariables[playerid][pInsurancePoints]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } if(playerVariables[playerid][pCarModel2] >= 400) { new zile = playerVariables[playerid][pCarDay2]*50; new km = playerVariables[playerid][pCarKM2]/10; new pret = 5000+zile+km; format(szMessage, sizeof(szMessage), "Model2: %s | Id: %d | Zile: %d | Km: %d | Asigurare: $%d (%d puncte)", VehicleNames[playerVariables[playerid][pCarModel2] - 400], playerVariables[playerid][pCarID2], playerVariables[playerid][pCarDay2], playerVariables[playerid][pCarKM2], NumberFormat(pret), playerVariables[playerid][pInsurancePoints2]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } if(playerVariables[playerid][pCarModel3] >= 400) { new zile = playerVariables[playerid][pCarDay3]*50; new km = playerVariables[playerid][pCarKM3]/10; new pret = 5000+zile+km; format(szMessage, sizeof(szMessage), "Model3: %s | Id: %d | Zile: %d | Km: %d | Asigurare: $%d (%d puncte)", VehicleNames[playerVariables[playerid][pCarModel3] - 400], playerVariables[playerid][pCarID3], playerVariables[playerid][pCarDay3], playerVariables[playerid][pCarKM3], NumberFormat(pret), playerVariables[playerid][pInsurancePoints3]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } if(playerVariables[playerid][pCarModel4] >= 400) { new zile = playerVariables[playerid][pCarDay4]*50; new km = playerVariables[playerid][pCarKM4]/10; new pret = 5000+zile+km; format(szMessage, sizeof(szMessage), "Model4: %s | Id: %d | Zile: %d | Km: %d | Asigurare: %d (%d puncte)", VehicleNames[playerVariables[playerid][pCarModel4] - 400], playerVariables[playerid][pCarID4], playerVariables[playerid][pCarDay4], playerVariables[playerid][pCarKM4], NumberFormat(pret), playerVariables[playerid][pInsurancePoints4]); SendClientMessage(playerid, COLOR_WHITE, szMessage); } new Float:HAFloats[2]; GetPlayerHealth(playerid,HAFloats[0]); GetPlayerArmour(playerid,HAFloats[1]); if(playerVariables[playerid][pAdminLevel] >= 1) { switch(playerVariables[playerid][pPrisonID]) { case 0: format(szMessage, sizeof(szMessage), "IP: %s | Viata: %.1f | Armura: %.1f", playerVariables[playerid][pConnectionIP],HAFloats[0], HAFloats[1]); case 1: format(szMessage, sizeof(szMessage), "IP: %s | Viata: %.1f | Armura: %.1f | Admin Prison Time: %d", playerVariables[playerid][pConnectionIP], HAFloats[0], HAFloats[1], playerVariables[playerid][pPrisonTime]); case 2: format(szMessage, sizeof(szMessage), "IP: %s | Viata: %.1f | Armura: %.1f | Admin Jail Time: %d", playerVariables[playerid][pConnectionIP], HAFloats[0], HAFloats[1], playerVariables[playerid][pPrisonTime]); case 3: format(szMessage, sizeof(szMessage), "IP: %s | Viata: %.1f | Armura: %.1f | Jail Time: %d", playerVariables[playerid][pConnectionIP], HAFloats[0], HAFloats[1], playerVariables[playerid][pPrisonTime]); } SendClientMessage(playerid, COLOR_ASKQ, szMessage); } SCM(playerid, COLOR_TEAL, "--------------------------------------------------------------------------------------------------------------------------------"); } return 1; }Cateodata functioneaza si cateodata nu...
  11. Problema intalnita (descriere): Cateodata nu functioneaza unele comenzi pe serverul meu X_XEro(area / rile) / warning-(ul / urile): NimicLiniile de cod / sursa / script-ul(obligatoriu): -Imagini / Video (optional): -Ati incercat sa rezolvati singur?: Da... Am pus IsPlayerConnected(playerid)) la fiecare comanda... Dar vad ca degeaba, poate fi de la ceva plugin sau ceva de genu? X_X
  12. Da... Totul ramane salvat doar daca in tabelul "dealer" sunt peset 50 de masini adaugate nu mai porneste sv-u... EquiNox Multumesc...
  13. Asta e server_log SA-MP Dedicated Server ---------------------- v0.3z-R4, (C)2005-2014 SA-MP Team [19:12:56][19:12:56] Server Plugins [19:12:56] -------------- [19:12:56] Loading plugin: sscanf.so [19:12:56][19:12:56] =============================== [19:12:56] sscanf plugin loaded. [19:12:56] Version: 2.8.1 [19:12:56] (c) 2012 Alex "Y_Less" Cole [19:12:56] =============================== [19:12:56] Loaded. [19:12:56] Loading plugin: streamer.so [19:12:56]*** Streamer Plugin v2.7.5.2 by Incognito loaded *** [19:12:56] Loaded. [19:12:56] Loading plugin: nativechecker.so [19:12:56] Loaded. [19:12:56] Loading plugin: mysql.so [19:12:56] >> plugin.mysql: R38 successfully loaded. [19:12:56] Loaded. [19:12:56] Loaded 4 plugins. [19:12:56][19:12:56] Filterscripts [19:12:56] --------------- [19:12:56] Loading filterscript 'antiflood.amx'... [19:12:56] Loading filterscript 'anti-flood.amx'... [19:12:56] Loading filterscript 'anti-flood-rate.amx'... [19:12:56] Loading filterscript 'Anti-join-flooding.amx'... [19:12:56] Anti-join-flooding script loaded. [19:12:56] Loaded 4 filterscripts. Si mysql_log nu am X_x
  14. Problema intalnita (descriere): Dealership-ul de pe serverul meu face legatura cu Mysql... Dar cand adaug peste 50 de vehicule in tabel nu mai imi porneste serverul X_X Dar in consola imi scrie ca cica e conectat la baza de date... Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): - Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Am incercat, dar nu am reusit x_X
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.