08.11.2014, 19:45
Use SetTimer in OnPlayerStateChange Callback.
because OnPlayerEnterVehicle Callback Call when a player attempts to enter a vehicle and maybe player cancel entering the vehicle !
and you set a timer
if a player don't enter a vehicle, that vehicle fuel will consume.
because OnPlayerEnterVehicle Callback Call when a player attempts to enter a vehicle and maybe player cancel entering the vehicle !
and you set a timer
if a player don't enter a vehicle, that vehicle fuel will consume.