Unused vehicles
#2

Save the vehicle position in a variable when a player exits it (note: falling of a bike does not count as exit!). Then use OnUnoccupiedVehicleUpdate to restore the pos everyone once in a while. Bear in mind that this callback functions like OnPlayerUpdate: it is called very frequently, so don't put a whole load of code in it.
Reply


Messages In This Thread
Unused vehicles - by KviZ - 17.02.2012, 08:31
Re: Unused vehicles - by Vince - 17.02.2012, 08:43

Forum Jump:


Users browsing this thread: 1 Guest(s)