The Lab
PED native

GET_PED_AS_GROUP_MEMBER

returns Ped2 paramsbuild 1207

Returns the member at index memberNumber in the group groupID.

Signature

C
Ped GET_PED_AS_GROUP_MEMBER(int groupID, int memberNumber); // 0x51455483CF23ED97 b1207

Parameters

#NameType
1groupIDint
2memberNumberint

Facts

Facts about GET_PED_AS_GROUP_MEMBER
Name
GET_PED_AS_GROUP_MEMBER
Hash
0x51455483CF23ED97
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(0x51455483CF23ED97, -- GET_PED_AS_GROUP_MEMBER
  0, -- int groupID
  0, -- int memberNumber
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0x51455483CF23ED97", // GET_PED_AS_GROUP_MEMBER
  0, // int groupID
  0, // int memberNumber
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0x51455483CF23ED97, // GET_PED_AS_GROUP_MEMBER
  0, // int groupID
  0 // int memberNumber
);
All PED natives

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