06.02.2014, 18:28
Quote:
Let's use GetVehicleParamsEx for that. All vehicle params when they're spawned are values of: -1. So, basically you'll have to check vehicle state (store values) by above function and then do if statement to your engine if it's lower than '0'. If so, put the engine on (SetVehicleParamsEx) in different case (else) set vehicle params back to '0' (false). Check it at SA-MP wiki.
|