Log In
Sign Up
GTA V match

MISC::IS_POSITION_OCCUPIED

0xBC7CEFEA7DA35C12 ·RVA 0x03E8C290

Signature

BOOL IS_POSITION_OCCUPIED(
    Vector3 coords,
    float range,
    BOOL p4,
    BOOL checkVehicles,
    BOOL checkPeds,
    BOOL p7,
    BOOL p8,
    Entity ignoreEntity,
    BOOL p10
);

The scripts pass 11 values to this native; the decoded signature lists 9 (arguments the game doesn't read are left out).

Parameters 9

#TypeNameNotes
0Vector3coords –
1floatrange –
2BOOLp4 –
3BOOLcheckVehicles –
4BOOLcheckPeds –
5BOOLp7 –
6BOOLp8 –
7EntityignoreEntity –
8BOOLp10 –

Returns

BOOL

Notes

  • x, y and z in GTA V are one Vector3 in GTA VI.

Call it

// MISC::IS_POSITION_OCCUPIED
auto result = invoke<BOOL>(0xBC7CEFEA7DA35C12, coords, range, p4, checkVehicles, checkPeds, p7, p8, ignoreEntity, p10);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.