The Lab
PED native

SET_PED_AS_GROUP_LEADER

returns void3 paramsbuild 1207

Makes ped the leader of the group groupId.

Signature

C
void SET_PED_AS_GROUP_LEADER(Ped ped, int groupId, BOOL p2); // 0x2A7819605465FBCE b1207

Parameters

#NameType
1pedPed
2groupIdint
3p2BOOL

Facts

Facts about SET_PED_AS_GROUP_LEADER
Name
SET_PED_AS_GROUP_LEADER
Hash
0x2A7819605465FBCE
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x2A7819605465FBCE, -- SET_PED_AS_GROUP_LEADER
  PlayerPedId(), -- Ped ped
  0, -- int groupId
  false -- BOOL p2
)
JavaScript
Citizen.invokeNative("0x2A7819605465FBCE", // SET_PED_AS_GROUP_LEADER
  PlayerPedId(), // Ped ped
  0, // int groupId
  false // BOOL p2
);
C#
Function.Call((Hash)0x2A7819605465FBCE, // SET_PED_AS_GROUP_LEADER
  API.PlayerPedId(), // Ped ped
  0, // int groupId
  false // BOOL p2
);
All PED natives

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