OBJECT
DOOR_SYSTEM_SET_DOOR_STATE
0x6BAB9442830C7F53
Jenkins: 0xDF83DB47
Signature
// OBJECT
void DOOR_SYSTEM_SET_DOOR_STATE(Hash doorHash, int state, BOOL requestDoor, BOOL forceUpdate)
Parameters
| Type | Name |
|---|---|
| Hash | doorHash |
| int | state |
| BOOL | requestDoor |
| BOOL | forceUpdate |
Return type void
Build 323
Former names
- _SET_DOOR_ACCELERATION_LIMIT
Documentation
Lockstates not applied and CNetObjDoor's not created until DOOR_SYSTEM_GET_IS_PHYSICS_LOADED returns true. `requestDoor` on true, and when door system is configured to, i.e., "persists w/o netobj", generate a CRequestDoorEvent. `forceUpdate` on true, forces an update on the door system (same path as netObjDoor_applyDoorStuff) Door lock states: 0: UNLOCKED 1: LOCKED 2: DOORSTATE_FORCE_LOCKED_UNTIL_OUT_OF_AREA 3: DOORSTATE_FORCE_UNLOCKED_THIS_FRAME 4: DOORSTATE_FORCE_LOCKED_THIS_FRAME 5: DOORSTATE_FORCE_OPEN_THIS_FRAME 6: DOORSTATE_FORCE_CLOSED_THIS_FRAME
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.