_IS_PED_GROUP_LEADER
Returns true if ped is the leader of the group groupId.
Signature
BOOL _IS_PED_GROUP_LEADER(Ped ped, int groupId); // 0x878B68960C1C2A35 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | groupId | int |
Facts
| Name | _IS_PED_GROUP_LEADER |
|---|---|
| Hash | 0x878B68960C1C2A35 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x878B68960C1C2A35, -- _IS_PED_GROUP_LEADER
PlayerPedId(), -- Ped ped
0 -- int groupId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x878B68960C1C2A35", // _IS_PED_GROUP_LEADER
PlayerPedId(), // Ped ped
0, // int groupId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x878B68960C1C2A35, // _IS_PED_GROUP_LEADER
API.PlayerPedId(), // Ped ped
0 // int groupId
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.