It is possible? - 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: It is possible? (
/showthread.php?tid=105788)
It is possible? -
Nexx - 31.10.2009
So i save a car in a place and how i can do when i restart the server the care tho change the id , if i save a car at near amunation with id 522 and when i restart the server the car id be 523 (to change the id when the server restart)
Re: It is possible? -
jamesb93 - 31.10.2009
Im not sure about on a restart but I'm pretty sure you can do something with these:
GetVehicleModel
DestroyVehicle
CreateVehicle
A command like /cveh, It checks the id's of all the vehicles and destroys the ones you specify and creates a new one that you specify.