RedM Natives

SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED

Hash0x1549BA7FE83A2383
Runtime nameSetVehicleKeepEngineOnWhenAbandoned
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB8FBC8B1330CA9B4

Signature

void SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED(Vehicle vehicle, BOOL toggle);

Parameters

NameTypeDescription
vehicleVehicle—
toggleBOOL—

Returns void

Usage

Lua
SetVehicleKeepEngineOnWhenAbandoned(vehicle, toggle)

-- always works, by hash
Citizen.InvokeNative(0x1549BA7FE83A2383, vehicle, toggle)
JavaScript and C#
JavaScript
SetVehicleKeepEngineOnWhenAbandoned(vehicle, toggle);

// by hash
Citizen.invokeNative('0x1549BA7FE83A2383', vehicle, toggle);
C#
Function.Call((Hash)0x1549BA7FE83A2383, vehicle, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.