SA-MP Forums Archive
vehicle id - 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)
+--- Thread: vehicle id (/showthread.php?tid=468255)



vehicle id - Karimgm - 07.10.2013

Hi, i have aquestion on how vehicle id are managed

i saw that vehicles id start with 1 not 0 but what i want to know is :

- when a vehicule is destroyed it vehicleid change or no?


Re: vehicle id - Konstantinos - 07.10.2013

Let's say there are 10 vehicles in the server (vehicleid from 1-11). A vehicle is destroyed (its vehicleid was 7) and you create a new vehicle. That vehicle will get the vehicleid 7. So vehicle IDs are re-used.


Re: vehicle id - Sublime - 07.10.2013

Konstantinos caught up to me... why......

-Delete-