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