_GET_PEDS_IN_COMBAT_WITH_TARGET
Hash
0x7BE607DAFF382FD2Runtime name
GetPedsInCombatWithTargetNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_PEDS_IN_COMBAT_WITH_TARGET(Ped ped, ItemSet itemset, int flag);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
itemset | ItemSet | — |
flag | int | — |
Returns int
Usage
local retval = GetPedsInCombatWithTarget(ped, itemset, flag)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7BE607DAFF382FD2, ped, itemset, flag, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedsInCombatWithTarget(ped, itemset, flag);
// by hash
const retval = Citizen.invokeNative('0x7BE607DAFF382FD2', ped, itemset, flag, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x7BE607DAFF382FD2, ped, itemset, flag);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.