| Property | Value |
|---|---|
| Native Name | _DOOR_SYSTEM_SWING_OPEN |
| Hash | 0xB3B1546D23DF8DE1 |
| Return Type | void |
| Build | 1207 |
| Parameters | doorHash (Hash), dirX (float), dirY (float), dirZ (float), reverse (BOOL) |
Description: swing door open between 2 points Requires DOOR_SYSTEM_SET_DOOR_STATE(hash, 0) beforehand
- If door is locked (state=1), the impulse is ignored
Usage
Lua (Direct):
DoorSystemSwingOpen(doorHash, dirX, dirY, dirZ, reverse)
Lua (Hash):
Citizen.InvokeNative(0xB3B1546D23DF8DE1, doorHash, dirX, dirY, dirZ, reverse)