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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | coords |
– |
| 1 | float | range |
– |
| 2 | BOOL | p4 |
– |
| 3 | BOOL | checkVehicles |
– |
| 4 | BOOL | checkPeds |
– |
| 5 | BOOL | p7 |
– |
| 6 | BOOL | p8 |
– |
| 7 | Entity | ignoreEntity |
– |
| 8 | BOOL | p10 |
– |
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);// MISC::IS_POSITION_OCCUPIED
bool result = Function.Call<bool>((Hash)0xBC7CEFEA7DA35C12, coords, range, p4, checkVehicles, checkPeds, p7, p8, ignoreEntity, p10);-- MISC::IS_POSITION_OCCUPIED
local result = Citizen.InvokeNative(0xBC7CEFEA7DA35C12, coords, range, p4, checkVehicles, checkPeds, p7, p8, ignoreEntity, p10)// MISC::IS_POSITION_OCCUPIED
const result = Citizen.invokeNative("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.