The Lab
VEHICLE native

SET_VEHICLE_ENGINE_ON

returns void3 paramsbuild 1207

Turns the engine of vehicle on or off, optionally instantly.

Signature

C
void SET_VEHICLE_ENGINE_ON(Vehicle vehicle, BOOL value, BOOL instantly); // 0xB64CFA14CB9A2E78 b1207

Parameters

#NameType
1vehicleVehicle
2valueBOOL
3instantlyBOOL

Facts

Facts about SET_VEHICLE_ENGINE_ON
Name
SET_VEHICLE_ENGINE_ON
Hash
0xB64CFA14CB9A2E78
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xB64CFA14CB9A2E78, -- SET_VEHICLE_ENGINE_ON
  0, -- Vehicle vehicle
  false, -- BOOL value
  false -- BOOL instantly
)
JavaScript
Citizen.invokeNative("0xB64CFA14CB9A2E78", // SET_VEHICLE_ENGINE_ON
  0, // Vehicle vehicle
  false, // BOOL value
  false // BOOL instantly
);
C#
Function.Call((Hash)0xB64CFA14CB9A2E78, // SET_VEHICLE_ENGINE_ON
  0, // Vehicle vehicle
  false, // BOOL value
  false // BOOL instantly
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.