The Lab
VEHICLE native

SET_DOOR_ALLOWED_TO_BE_BROKEN_OFF

returns void3 paramsbuild 1207

Sets whether door doorId of vehicle can be broken off.

Signature

C
void SET_DOOR_ALLOWED_TO_BE_BROKEN_OFF(Vehicle vehicle, int doorId, BOOL isBreakable); // 0x081FB9D6422F804C b1207

Parameters

#NameType
1vehicleVehicle
2doorIdint
3isBreakableBOOL

Facts

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

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