GET_PED_AS_GROUP_LEADER
Hash
0x5CCE68DBD5FE93ECRuntime name
GetPedAsGroupLeaderNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5CCE68DBD5FE93ECSignature
Ped GET_PED_AS_GROUP_LEADER(int groupID);Parameters
| Name | Type | Description |
|---|---|---|
groupID | int | — |
Returns Ped
Usage
local retval = GetPedAsGroupLeader(groupID)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5CCE68DBD5FE93EC, groupID, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedAsGroupLeader(groupID);
// by hash
const retval = Citizen.invokeNative('0x5CCE68DBD5FE93EC', groupID, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x5CCE68DBD5FE93EC, groupID);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.