RedM Natives

SET_VEHICLE_INDIVIDUAL_DOORS_LOCKED

Hash0xA9F1D75195CC40F6
Runtime nameSetVehicleIndividualDoorsLocked
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBE70724027F85BCD

Signature

void SET_VEHICLE_INDIVIDUAL_DOORS_LOCKED(Vehicle vehicle, int doorId, int doorLockStatus);

Parameters

NameTypeDescription
vehicleVehicle—
doorIdint—
doorLockStatusint—

Returns void

Description

Usage

Lua
SetVehicleIndividualDoorsLocked(vehicle, doorId, doorLockStatus)

-- always works, by hash
Citizen.InvokeNative(0xA9F1D75195CC40F6, vehicle, doorId, doorLockStatus)
JavaScript and C#
JavaScript
SetVehicleIndividualDoorsLocked(vehicle, doorId, doorLockStatus);

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

Enums and flags

Sources

alloc8or RDR3 NativeDB

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