11.04.2013, 17:18
Quote:
I was thinking about doing a processVehicleDamage() function on a timer every 30 seconds. Would that be heavy on resources.
|
Quote:
Hi.
... I don't want to give bad advise or something, but I would do it when player leaves vehicle (using OnPlayerExitVehicle public). Seems most optimal. Greetz, LetsOWN |
Quote:
simply the worst way you can think of !
What if the player never leaves the car ? e.g explodes. A good way is going to be to use the vehicles damage status update callback OnVehicleDamageStatusUpdate |