IS_PED_IN_COMBAT
Hash
0x4859F1FC66A6278ERuntime name
IsPedInCombatNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x4859F1FC66A6278ESignature
BOOL IS_PED_IN_COMBAT(Ped ped, Ped target);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
target | Ped | — |
Returns BOOL
Usage
local retval = IsPedInCombat(ped, target)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4859F1FC66A6278E, ped, target, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedInCombat(ped, target);
// by hash
const retval = Citizen.invokeNative('0x4859F1FC66A6278E', ped, target, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x4859F1FC66A6278E, ped, target);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.