23.06.2014, 13:01
Why would you like to use "OnPlayerUpdate" ?
This callback is called so many times within a second. Use a per-vehicle timer which is launched in "OnPlayerEnterVehicle" and which is destroyed in "OnPlayerExitVehicle".
Anyway, I think my way is the only one possible, because I don't see of any other.
This callback is called so many times within a second. Use a per-vehicle timer which is launched in "OnPlayerEnterVehicle" and which is destroyed in "OnPlayerExitVehicle".
Anyway, I think my way is the only one possible, because I don't see of any other.