The Lab
VEHICLE native

SET_VEHICLE_DOORS_SHUT

returns void2 paramsbuild 1207

Closes all doors of vehicle, optionally instantly.

Signature

C
void SET_VEHICLE_DOORS_SHUT(Vehicle vehicle, BOOL closeInstantly); // 0xA4FFCD645B11F25A b1207

Parameters

#NameType
1vehicleVehicle
2closeInstantlyBOOL

Facts

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

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