The Lab
VEHICLE native

SET_VEHICLE_DOOR_SHUT

returns void3 paramsbuild 1207

Closes door doorId of vehicle, optionally instantly.

Signature

C
void SET_VEHICLE_DOOR_SHUT(Vehicle vehicle, int doorId, BOOL closeInstantly); // 0x6A3C24B91FD0EA09 b1207

Parameters

#NameType
1vehicleVehicle
2doorIdint
3closeInstantlyBOOL

Facts

Facts about SET_VEHICLE_DOOR_SHUT
Name
SET_VEHICLE_DOOR_SHUT
Hash
0x6A3C24B91FD0EA09
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(0x6A3C24B91FD0EA09, -- SET_VEHICLE_DOOR_SHUT
  0, -- Vehicle vehicle
  0, -- int doorId
  false -- BOOL closeInstantly
)
JavaScript
Citizen.invokeNative("0x6A3C24B91FD0EA09", // SET_VEHICLE_DOOR_SHUT
  0, // Vehicle vehicle
  0, // int doorId
  false // BOOL closeInstantly
);
C#
Function.Call((Hash)0x6A3C24B91FD0EA09, // SET_VEHICLE_DOOR_SHUT
  0, // Vehicle vehicle
  0, // int doorId
  false // BOOL closeInstantly
);
All VEHICLE natives

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