Unique Vehicle ID
#1

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.
Reply
#2

maybe this will help you https://sampwiki.blast.hk/wiki/Saving_car_mods

just read it + try to understand random spawns
Reply
#3

Quote:
Originally Posted by verlaj
Посмотреть сообщение
maybe this will help you https://sampwiki.blast.hk/wiki/Saving_car_mods

just read it + try to understand random spawns
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)