The Lab
VEHICLE native

LOCK_DOORS_WHEN_NO_LONGER_NEEDED

returns void1 parambuild 1207

Makes the doors of vehicle lock once the script no longer needs it.

Signature

C
void LOCK_DOORS_WHEN_NO_LONGER_NEEDED(Vehicle vehicle); // 0x1EF36558FBDE2DAA b1207

Parameters

#NameType
1vehicleVehicle

Facts

Facts about LOCK_DOORS_WHEN_NO_LONGER_NEEDED
Name
LOCK_DOORS_WHEN_NO_LONGER_NEEDED
Hash
0x1EF36558FBDE2DAA
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x1EF36558FBDE2DAA, -- LOCK_DOORS_WHEN_NO_LONGER_NEEDED
  0 -- Vehicle vehicle
)
JavaScript
Citizen.invokeNative("0x1EF36558FBDE2DAA", // LOCK_DOORS_WHEN_NO_LONGER_NEEDED
  0 // Vehicle vehicle
);
C#
Function.Call((Hash)0x1EF36558FBDE2DAA, // LOCK_DOORS_WHEN_NO_LONGER_NEEDED
  0 // Vehicle vehicle
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.