SetStateOfClosestDoorOfType — FiveM Natives
0xF82D8F1926A02C3D · OBJECT · all
`` Hardcoded to not work in multiplayer. Used to lock/unlock doors to interior areas of the game. (Possible) Door Types: pastebin.com/9S2m3qA4 Heading is either 1, 0 or -1 in the scripts. Means default closed(0) or opened either into(1) or out(-1) of the interior. Locked means that the heading is locked. p6 is always 0. 225 door types, model names and coords found in stripclub.c4: pastebin.com/gywnbzsH get door info: pastebin.com/i14rbekD ``
Parameters
| Name | Type |
|---|---|
| type | Hash |
| x | float |
| y | float |
| z | float |
| locked | BOOL |
| heading | float |
| p6 | BOOL |
Returns
void