The Lab
PED native

_SET_PED_FORMATION_POSITION

returns void3 paramsbuild 1207

Assigns ped to the formation slot position in its group.

Signature

C
void _SET_PED_FORMATION_POSITION(Ped ped, int position, BOOL toggle); // 0x0E9E95FDEDCC9D35 b1207

Parameters

#NameType
1pedPed
2positionint
3toggleBOOL

Facts

Facts about _SET_PED_FORMATION_POSITION
Name
_SET_PED_FORMATION_POSITION
Hash
0x0E9E95FDEDCC9D35
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(0x0E9E95FDEDCC9D35, -- _SET_PED_FORMATION_POSITION
  PlayerPedId(), -- Ped ped
  0, -- int position
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x0E9E95FDEDCC9D35", // _SET_PED_FORMATION_POSITION
  PlayerPedId(), // Ped ped
  0, // int position
  false // BOOL toggle
);
C#
Function.Call((Hash)0x0E9E95FDEDCC9D35, // _SET_PED_FORMATION_POSITION
  API.PlayerPedId(), // Ped ped
  0, // int position
  false // BOOL toggle
);
All PED natives

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