VEHICLE

SET_VEHICLE_ENGINE_ON

0x2497C4717C8B881E Jenkins: 0x7FBC86F1

Signature

// VEHICLE
void SET_VEHICLE_ENGINE_ON(Vehicle vehicle, BOOL value, BOOL instantly, BOOL disableAutoStart)

Parameters

Type Name
Vehicle vehicle
BOOL value
BOOL instantly
BOOL disableAutoStart

Return type void

Build 323

Documentation

Starts or stops the engine on the specified vehicle. vehicle: The vehicle to start or stop the engine on. value: true to turn the vehicle on; false to turn it off. instantly: if true, the vehicle will be set to the state immediately; otherwise, the current driver will physically turn on or off the engine. disableAutoStart: If true, the system will prevent the engine from starting when the player got into it. from what I've tested when I do this to a helicopter the propellers turn off after the engine has started. so is there any way to keep the heli propellers on?

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.