GetStateOfClosestDoorOfType — FiveM Natives
0xEDC1A5B84AEF33FF · OBJECT · all
`` locked is 0 if no door is found locked is 0 if door is unlocked locked is 1 if door is found and unlocked. ------------- the locked bool is either 0(unlocked)(false) or 1(locked)(true) ``
Parameters
| Name | Type |
|---|---|
| type | Hash |
| x | float |
| y | float |
| z | float |
| locked | BOOL* |
| heading | float* |
Returns
void