SA-MP Forums Archive
createvehicle respawn timer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: createvehicle respawn timer (/showthread.php?tid=215385)



createvehicle respawn timer - hadzx - 23.01.2011

Код:
car=CreateVehicle(415,x,y,z+4,a,-1,-1,30000);
basicly its pissing me off when it blows up it respawns realy fast and i dont want it to and i changed 30000 to tons of 999999's and it still respawns realy fast is their anyway to make it so it doesnt respawn?



and dont bother saying OOH I SHOULD LEARN because i stoped scripting for 2yrs and i only liked scripting on the old samps and all the codes are different

thank you


Re: createvehicle respawn timer - Code_Red - 23.01.2011

You Can save the vehicles position and then set its pos on OnVehicleSpawn


Re: createvehicle respawn timer - hadzx - 23.01.2011

Quote:
Originally Posted by Code_Red
Посмотреть сообщение
You Can save the vehicles position and then set its pos on OnVehicleSpawn

mmh k im still confused by that


Re: createvehicle respawn timer - Code_Red - 23.01.2011

Saves the vehicle's spot in OnVehicleDeath (and/or in OnPlayerExitVehicle if you want)
and set the vehicles pos in OnVehicleSpawn.

and No, im not gonna make you the code, you aint gonna learn nothing like that.


Re: createvehicle respawn timer - hadzx - 23.01.2011

Quote:
Originally Posted by Code_Red
Посмотреть сообщение
Saves the vehicle's spot in OnVehicleDeath (and/or in OnPlayerExitVehicle if you want)
and set the vehicles pos in OnVehicleSpawn.

and No, im not gonna make you the code, you aint gonna learn nothing like that.

ok il check that up on ****** etc thanks