LoadPlayerVehicle
#3

It would be better to destroy the vehicle when the player disconnects, then you wouldn't have a lot of vehicles created. Don't create the vehicle when you load the vehicles, when a player logs in, loop through the vehicle data and compare the name with the vehicle owner, and then load it from there. Then when the player disconnects, loop through the data again and destroy vehicle's with the owner.
Reply


Messages In This Thread
LoadPlayerVehicle - by NiKi123 - 17.07.2014, 12:24
Respuesta: LoadPlayerVehicle - by Xabi - 17.07.2014, 12:33
Re: LoadPlayerVehicle - by Jack_Leslie - 17.07.2014, 12:37
Re: LoadPlayerVehicle - by NiKi123 - 17.07.2014, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)