RedM Natives

SET_VEHICLE_DOORS_LOCKED

Hash0x96F78A6A075D55D9
Runtime nameSetVehicleDoorsLocked
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB664292EAECF7FA6

Signature

void SET_VEHICLE_DOORS_LOCKED(Vehicle vehicle, int doorLockStatus);

Parameters

NameTypeDescription
vehicleVehicle—
doorLockStatusint—

Returns void

Usage

Lua
SetVehicleDoorsLocked(vehicle, doorLockStatus)

-- always works, by hash
Citizen.InvokeNative(0x96F78A6A075D55D9, vehicle, doorLockStatus)
JavaScript and C#
JavaScript
SetVehicleDoorsLocked(vehicle, doorLockStatus);

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

Sources

alloc8or RDR3 NativeDB

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