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