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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle id (/showthread.php?tid=181063)



Vehicle id - martynas - 03.10.2010

Hi,

How to make that everytime vehicle id would be different ?
For example i buy car and id will be 100 when i sell it i will buy on more time the same car but id will be 169 ?


Re: Vehicle id - Conroy - 03.10.2010

You cannot choose an ID for a vehicle. They are chosen when they are created in numeric order starting from 0 upwards, filling in any missing ID's.


Re: Vehicle id - Steven82 - 03.10.2010

I don't think this is exactly what he means. But uh if you can dude, please explain some more.


Re: Vehicle id - martynas - 04.10.2010

i want to make car system example i buy a car then i lock it... but when other players want to buy a same model car it says thath the car belongs to me..l but i neeed to create that they could buy new one same model car...