DoorControl — FiveM Natives
0x9B12F9A24FABEDB0 · OBJECT · all
Hardcoded not to work in multiplayer environments. Native name between SET_LOCAL_PLAYER_VISIBLE_LOCALLY & SET_MAX_WANTED_LEVEL. `` OBJECT::_9B12F9A24FABEDB0(${prop_gate_prison_01}, 1845.0, 2605.0, 45.0, 0, 0.0, 50.0, 0); //door unlocked OBJECT::_9B12F9A24FABEDB0(${prop_gate_prison_01}, 1845.0, 2605.0, 45.0, 1, 0.0, 50.0, 0); //door locked ``
Parameters
| Name | Type | Description |
|---|---|---|
| modelHash | Hash | |
| x | float | |
| y | float | |
| z | float | |
| locked | BOOL | tells the game whether or not the door is locked |
| xRotMult | float | multiplier that specifies how fast the door/gate will rotate in degrees per second. |
| yRotMult | float | multiplier that specifies how fast the door/gate will rotate in degrees per second. |
| zRotMult | float | multiplier that specifies how fast the door/gate will rotate in degrees per second. |
Returns
void