impulse81
Membru-
Posts
128 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by impulse81
-
cum pot face la un speedometer sa arate viteza corecta , nu sa iti arate ca prinzi 200km in 2 secunde , vreau sa fie cam ca cel de la s0beit , sa nu prinzi viteza rpd sau ggreu, exact cum e ala.
-
5/5 chiar asta cautam si eu sa pun pe sv :)
-
[pawn] if(PRESSED( KEY_CROUCH)) { if (PlayerToPoint(4.0, playerid,-1904.7109,274.6968,41.0469)) { iif (GetPlayerState(playerid) == 2 && ispassenger) // asta e linia { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 2137.4526,-2070.6516,2277.2805); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; SetPlayerInterior(playerid,1); LinkVehicleToInterior(gLastCar[playerid],1); SetVehicleZAngle(gLastCar[playerid],1.4095); PlayerInfo[playerid][pSpray] = 1; ShoObjectsLoad(playerid); } } }[/pawn] C:\Users\Gaby\Desktop\Eq.pwn(5346 : error 017: undefined symbol "ispassenger"
-
expected token: "-string end-", but found "-identifier-"
impulse81 posted a question in Arhivă probleme
C:\Users\Gaby\Desktop\Eq.pwn(53146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Gaby\Desktop\Eq.pwn(53146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Gaby\Desktop\Eq.pwn(53146) : warning 215: expression has no effect C:\Users\Gaby\Desktop\Eq.pwn(53146) : error 001: expected token: ";", but found "-integer value-" C:\Users\Gaby\Desktop\Eq.pwn(53146) : fatal error 107: too many error messages on one line asta e linia [pawn]ShowPlayerDialog(playerid,DIALOG_REPAIR1, DIALOG_STYLE_LIST, "Reparare", ""COLOR_YELLOW"1. {FFFFFF}Repara motorul\t\t\t"COLOR_GREEN"1230$ \n"COLOR_YELLOW"2. {FFFFFF}Repara caroseria + motorul\t\t"COLOR_GREEN"1670$", "Ok", "");[/pawn] -
Salut , nu stiu daca am postat bine aici dar am o problema mare. ma tot flodeaza niste nesimtiti , cum pot face ca floodurile lor sa nu mai aibe efect?
-
cum pot face cand un player sta afk , sa ii apara deasupra capului de cat timp e afk?
-
salut. cand folosesc /v park la masinile personale imi da alta masina ... ce trebuie sa fac adica eu sunt intr-un bullet dau /v park si imi da turismo
-
ma ajuta careva?
-
salut . cand dau /smokecigars nu imi da tigara in mana si cand apas click sa o duca la gura.. asta e comanda: [pawn]if(!strcmp(cmdtext, "/smokecigars", true)) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You need to login first !"); return 1; } if(IsSmoking[playerid] == 0) { if(PlayerInfo[playerid][pLighter] == 0) { SendClientMessage(playerid, COLOR_GREY, " Nu ai Bricheta! Intoarcete la un magazin si cumapara-ti! ! "); return 1; } if(PlayerInfo[playerid][pCigarettes] == 0) { SendClientMessage(playerid, COLOR_GREY, " Nu ai tigari! "); return 1; } new randsmoke = random(2)+1; if(randsmoke == 1) { PlayerInfo[playerid][pLighter] -= 1; PlayerInfo[playerid][pCigarettes] -= 1; PlayerInfo[playerid][pDependent] += 1; if(PlayerInfo[playerid][pSex] == 1) { format(string, sizeof(string), " %s scoate bricheta si isi aprinde tigara!.", sendername); } else { format(string, sizeof(string), "* %s takes out her lighter and cigarette and lights it up.", sendername); } ProxDetector(30.0, playerid, string, COLOR_RED,COLOR_RED,COLOR_RED,COLOR_YELLOW,COLOR_RED); IsSmoking[playerid] = 60; SendClientMessage(playerid, COLOR_WHITE, "Poti sa o arunci Apasand 'F' or 'Enter' !"); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); } else { PlayerInfo[playerid][pLighter] -= 1; if(PlayerInfo[playerid][pSex] == 1) { format(string, sizeof(string), "* %s a scos bricheta si a incercat sa aprinda tigara ,dar nu a reusit!.", sendername); } else { format(string, sizeof(string), "* %s a scos bricheta si a incercat sa aprinda tigara ,dar nu a reusit!.", sendername); } ProxDetector(30.0, playerid, string, COLOR_RED,COLOR_RED,COLOR_RED,COLOR_YELLOW,COLOR_RED); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Deja fumezi! "); return 1; } } return 1; }[/pawn]
-
nu ma . cand ma duc pe "i-ul" sau $ de la un biz iau CRASH
-
salut . am o problema cand , ma duc la un biz acolo sa dau enter iau crash mereu..
-
da , am inteles tot
-
salut cum fac serverul cu register pe site?
-
pai cand apasa cancel sa ma scoata din dialog asta vreau sa fie
-
[pawn] if(dialogid == RADIO) { if(response) { if(listitem==0) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=224605"); } if(listitem==1) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://80.86.106.136/listen.pls"); } if(listitem==2) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://stream.profm.ro:8012/profm.mp3"); } if(listitem==3) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://www.radio21.ro/site/Radio21Live.m3u"); } if(listitem==4) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://a.fmradiomanele.ro:8054"); } if(listitem==5) { StopAudioStreamForPlayer(playerid); PlayAudioStreamForPlayer(playerid, "http://www.radioparty.ro/manele.m3u"); } if(listitem==6) { StopAudioStreamForPlayer(playerid); } } }[/pawn]] asa e dialogul
-
AM o problema la un dialog , cand dau cancel imi da server closed connection [pawn]ShowPlayerDialog(playerid, RADIO, DIALOG_STYLE_LIST, "Choose your radio station", "Radio Zu\nKiss FM\nPro FM\nRadio 21\nRadio Manele\nRadio Manele2\nStop The Music", "Listen", "Cancel");[/pawn]
-
Licenta la Bike,si ID CAR LA MASINI PERS
impulse81 replied to impulse81's question in Arhivă probleme
stiti careva? -
Salut! Cum fac sa nu mai ceara licenta DMV la Biciclete? Si mai am o problema : Cand dau /stats imi apar masinile pers pe care le am si la CAR ID nu imi scrie id-ul corect.. ce sa fac? [pawn]if (PlayerInfo[targetid][pPcarkey] != 999) { format(coordsstring, sizeof(coordsstring), "1| VehID:[%d] Cost:[%d] Culoare1:[%d] Culoare2:[%d] Incuiat:[%d]", pPcarkey ,CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); } if (PlayerInfo[targetid][pPcarkey2] != 999) { format(coordsstring, sizeof(coordsstring), "2| VehID:[%d] Cost:[%d] Culoare1:[%d] Culoare2:[%d] Incuiat:[%d]", pPcarkey2 ,CarInfo[carkey2][cValue], CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); } if (PlayerInfo[targetid][pPcarkey3] != 999) { format(coordsstring, sizeof(coordsstring), "3| VehID:[%d] Cost:[%d] Culoare1:[%d] Culoare2:[%d] Incuiat:[%d]", pPcarkey3 ,CarInfo[carkey3][cValue], CarInfo[carkey3][cColorOne], CarInfo[carkey3][cColorTwo], CarInfo[carkey3][cLock]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); }[/pawn]
-
[pawn]for(new h = ID; h < sizeof(CarInfo); h++) { CreateVehicle(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000); }[/pawn] nu am asa ceva
-
nu am inteles.. Masinile Personale le am in cars.cfg si alea incep direct cu id-ul masinii.. nu au Addstaticvehicle..
-
si la masinile pers cum fac sa nu se respawneze ?
-
nu am linia OnPlayerRequestSpawn si tot nu merge .. am facut la celelalte cum ai spus..
-
ma poate ajuta careva ?
-
nu e in masina.. cred ca ramane la tutorial nu stiu.. ca , cand imi dau tp la el ma da in gol