_IS_PED_GROUP_LEADER
Hash
0x878B68960C1C2A35Runtime name
IsPedGroupLeaderNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
IS_PED_GROUP_LEADERSignature
BOOL _IS_PED_GROUP_LEADER(Ped ped, int groupId);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
groupId | int | — |
Returns BOOL
Usage
local retval = IsPedGroupLeader(ped, groupId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x878B68960C1C2A35, ped, groupId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedGroupLeader(ped, groupId);
// by hash
const retval = Citizen.invokeNative('0x878B68960C1C2A35', ped, groupId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x878B68960C1C2A35, ped, groupId);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.