MISC

IS_POSITION_OCCUPIED

0xADCDE75E1C60F32D Jenkins: 0x452E8D9E

Signature

// MISC
BOOL IS_POSITION_OCCUPIED(float x, float y, float z, float range, BOOL p4, BOOL checkVehicles, BOOL checkPeds, BOOL p7, BOOL p8, Entity ignoreEntity, BOOL p10)

Parameters

Type Name
float x
float y
float z
float range
BOOL p4
BOOL checkVehicles
BOOL checkPeds
BOOL p7
BOOL p8
Entity ignoreEntity
BOOL p10

Return type BOOL

Build 323

Documentation

`range`: The range, seems to not be very accurate during testing. `p4`: Unknown, when set to true it seems to always return true no matter what I try. `checkVehicle`: Check for any vehicles in that area. `checkPeds`: Check for any peds in that area. `ignoreEntity`: This entity will be ignored if it's in the area. Set to 0 if you don't want to exclude any entities. 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. Returns true if there is anything in that location matching the provided parameters.

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.