RedM Natives

SET_VEHICLE_RESPECTS_LOCKS_WHEN_HAS_DRIVER

Hash0x33992A808DF1C1BA
Runtime nameSetVehicleRespectsLocksWhenHasDriver
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2311DD7159F00582

Signature

void SET_VEHICLE_RESPECTS_LOCKS_WHEN_HAS_DRIVER(Vehicle vehicle, BOOL p1);

Parameters

NameTypeDescription
vehicleVehicle—
p1BOOL—

Returns void

Usage

Lua
SetVehicleRespectsLocksWhenHasDriver(vehicle, p1)

-- always works, by hash
Citizen.InvokeNative(0x33992A808DF1C1BA, vehicle, p1)
JavaScript and C#
JavaScript
SetVehicleRespectsLocksWhenHasDriver(vehicle, p1);

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

Sources

alloc8or RDR3 NativeDB

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