RedM Natives

SET_VEHICLE_DOOR_LATCHED

Hash0x06F8A202EB312A3C
Runtime nameSetVehicleDoorLatched
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA5A9653A8D2CAF48

Signature

void SET_VEHICLE_DOOR_LATCHED(Vehicle vehicle, int doorId, BOOL p2, BOOL p3, BOOL p4);

Parameters

NameTypeDescription
vehicleVehicle—
doorIdint—
p2BOOL—
p3BOOL—
p4BOOL—

Returns void

Description

Usage

Lua
SetVehicleDoorLatched(vehicle, doorId, p2, p3, p4)

-- always works, by hash
Citizen.InvokeNative(0x06F8A202EB312A3C, vehicle, doorId, p2, p3, p4)
JavaScript and C#
JavaScript
SetVehicleDoorLatched(vehicle, doorId, p2, p3, p4);

// by hash
Citizen.invokeNative('0x06F8A202EB312A3C', vehicle, doorId, p2, p3, p4);
C#
Function.Call((Hash)0x06F8A202EB312A3C, vehicle, doorId, p2, p3, p4);

Enums and flags

Sources

alloc8or RDR3 NativeDB

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