Need help with Player Private Vehicles
#2

Saving the vehicle isn't hard, Just save it's float x , y and z where the player parks the vehicle and about lock, You'll be needing OnVehicleStreamIn function check it out and loop through all players and check the variable that if the vehicle id is equal to his private vehicle and it's locked then setvehicleparams and lock it,

and for destroying, use DestroyVehicle(playervehiclevar); and when player spawns load his data on variables of x,y,z,color and other vars,
Then create it again !

Easy !
Reply


Messages In This Thread
Need help with Player Private Vehicles - by Escobabe - 16.10.2017, 12:00
Re: Need help with Player Private Vehicles - by FuNkYTheGreat - 16.10.2017, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)