IsPositionOccupied — FiveM Natives
0xADCDE75E1C60F32D · MISC · all
The BOOL parameters that are documented have not been confirmed. They are just documented from what I've found during testing. They may not work as expected in all cases.
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | X coordinate of the position to check. |
| y | float | Y coordinate of the position to check. |
| z | float | Z coordinate of the position to check. |
| range | float | The range, seems to not be very accurate during testing. |
| p4 | BOOL | Unknown, when set to true it seems to always return true no matter what I try. |
| checkVehicles | BOOL | Check for any vehicles in that area. |
| checkPeds | BOOL | Check for any peds in that area. |
| p7 | BOOL | Unknown. |
| p8 | BOOL | Unknown. |
| ignoreEntity | Entity | This entity will be ignored if it's in the area. Set to 0 if you don't want to exclude any entities. |
| p10 | BOOL | Unknown. |
Returns
BOOL