The Lab
PED native

GET_PED_AS_GROUP_LEADER

returns Ped1 parambuild 1207

Returns the leader of the group groupID.

Signature

C
Ped GET_PED_AS_GROUP_LEADER(int groupID); // 0x5CCE68DBD5FE93EC b1207

Parameters

#NameType
1groupIDint

Facts

Facts about GET_PED_AS_GROUP_LEADER
Name
GET_PED_AS_GROUP_LEADER
Hash
0x5CCE68DBD5FE93EC
Namespace
Returns
Ped
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ped = Citizen.InvokeNative(0x5CCE68DBD5FE93EC, -- GET_PED_AS_GROUP_LEADER
  0, -- int groupID
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0x5CCE68DBD5FE93EC", // GET_PED_AS_GROUP_LEADER
  0, // int groupID
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0x5CCE68DBD5FE93EC, // GET_PED_AS_GROUP_LEADER
  0 // int groupID
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.