RDR3 match
PED::IS_ANY_HOSTILE_PED_NEAR_POINT
0x4DAD90609788D24D ·RVA 0x04BCF450
Signature
BOOL IS_ANY_HOSTILE_PED_NEAR_POINT(
Ped ped,
Vector3 pos,
float radius
);
The scripts pass 5 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | radius |
– |
Returns
BOOL
Call it
// PED::IS_ANY_HOSTILE_PED_NEAR_POINT
auto result = invoke<BOOL>(0x4DAD90609788D24D, ped, pos, radius);// PED::IS_ANY_HOSTILE_PED_NEAR_POINT
bool result = Function.Call<bool>((Hash)0x4DAD90609788D24D, ped, pos, radius);-- PED::IS_ANY_HOSTILE_PED_NEAR_POINT
local result = Citizen.InvokeNative(0x4DAD90609788D24D, ped, pos, radius)// PED::IS_ANY_HOSTILE_PED_NEAR_POINT
const result = Citizen.invokeNative("0x4DAD90609788D24D", ped, pos, radius);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.