Unique 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: Unique Vehicle ID (
/showthread.php?tid=389686)
Unique Vehicle ID -
Brandlax - 03.11.2012
I've investigated about this alot but came up with nothing. Is there a way to set a unique ID to CreateVehicle function? Because I made a car buying system and I want that his car appears infront of him with all loaded mods. I have the function ready, car mode filterscript by Fresh, but the problem is that CreateVehicle has a different vehicle id each time he spawns it for which it's not possible to load the mods for that car.
Re: Unique Vehicle ID -
verlaj - 03.11.2012
maybe this will help you
https://sampwiki.blast.hk/wiki/Saving_car_mods
just read it + try to understand random spawns
Re: Unique Vehicle ID -
Brandlax - 03.11.2012
Quote:
Originally Posted by verlaj
|
I understood that, but this is for a particular vehicle ID. In my script, everytime the player spawns his vehicle, it has a new vehicle ID! For which the mods can't be loaded to it..I don't want that people can mod whatever cars they like. Only the ones which they OWN.