eXtreMe96 Posted October 3, 2010 Report Posted October 3, 2010 Imi trebuie codul care face ca masina daca am lasato undeva sa despara peste 5 minute sa distruga lol
IstuntmanI Posted October 3, 2010 Report Posted October 3, 2010 http://www.sa-mp.ro/forum/index.php?topic=6754.msg42461#msg42461La 5 minute:Ca sa nu se respawneze masinile se folosesteAddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); Ca sa se respawneze scrie la toate in loc de AddStaticVehicle scrii AddStaticVehicleEx si mai adaugi un parametru, respawn time: AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2,RESPAWN_TIME); Sau ca sa se respawneze absolut toate masinile din GM la 10 minute pui astea: (varianta mai scurta fata de ce-am zis mai sus) - sus in script: #define AddStaticVehicle AddStaticVehicleRespawn - undeva in script, de preferat dupa masini: stock AddStaticVehicleRespawn(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2) { AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2,300000); }Si ar trebui sa mearga.NOTA: Se respawneaza dupa 5 minute dupa ce jucatorul s-a dat jos din vehicul.Ca sa se distruga vehiculul (nu-ti recomand) foloseste DestroyVehicle
eXtreMe96 Posted October 4, 2010 Author Report Posted October 4, 2010 Stai oleaka mam incurcat singur ce vreau eu Eu am masina de exemplu in strada vrea sa despara peste 5 minute si de exemplu am luat masina de undeva si se apra inapoi acolo deunde am luato peste 5 minute lol
Question
eXtreMe96
Imi trebuie codul care face ca masina daca am lasato undeva sa despara peste 5 minute sa distruga
lol
2 answers to this question
Recommended Posts