RedM Natives

GET_VEHICLE_DOOR_LOCK_STATUS

Hash0xC867FD144F2469D3
Runtime nameGetVehicleDoorLockStatus
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x25BC98A59C2EA962

Signature

int GET_VEHICLE_DOOR_LOCK_STATUS(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns int

Usage

Lua
local retval = GetVehicleDoorLockStatus(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0xC867FD144F2469D3, vehicle, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetVehicleDoorLockStatus(vehicle);

// by hash
const retval = Citizen.invokeNative('0xC867FD144F2469D3', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xC867FD144F2469D3, vehicle);

Sources

alloc8or RDR3 NativeDB

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