SetVehicleEngineOn — FiveM Natives
0x2497C4717C8B881E · VEHICLE · all
Starts or stops the engine on the specified vehicle. From what I've tested when I do this to a helicopter the propellers turn off after the engine has started.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The vehicle to start or stop the engine on. |
| value | BOOL | true to turn the vehicle on; false to turn it off. |
| instantly | BOOL | if true, the vehicle will be set to the state immediately; otherwise, the current driver will physically turn on or off the engine. |
| disableAutoStart | BOOL | If true, the system will prevent the engine from starting when the player got into it. |
Returns
void