SET_DOOR_ALLOWED_TO_BE_BROKEN_OFF
Old name: _SET_VEHICLE_DOOR_CAN_BREAK
Hash
0x081FB9D6422F804CRuntime name
SetDoorAllowedToBeBrokenOffNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2FA133A4A9D37ED8Signature
void SET_DOOR_ALLOWED_TO_BE_BROKEN_OFF(Vehicle vehicle, int doorId, BOOL isBreakable);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
doorId | int | — |
isBreakable | BOOL | — |
Returns void
Description
doorId: see SET_VEHICLE_DOOR_SHUT
Old name: _SET_VEHICLE_DOOR_CAN_BREAK
Usage
SetDoorAllowedToBeBrokenOff(vehicle, doorId, isBreakable)
-- always works, by hash
Citizen.InvokeNative(0x081FB9D6422F804C, vehicle, doorId, isBreakable)JavaScript and C#
SetDoorAllowedToBeBrokenOff(vehicle, doorId, isBreakable);
// by hash
Citizen.invokeNative('0x081FB9D6422F804C', vehicle, doorId, isBreakable);Function.Call((Hash)0x081FB9D6422F804C, vehicle, doorId, isBreakable);Enums and flags
- eDoorId 13 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.