_SET_PED_FORMATION_POSITION
Assigns ped to the formation slot position in its group.
Signature
void _SET_PED_FORMATION_POSITION(Ped ped, int position, BOOL toggle); // 0x0E9E95FDEDCC9D35 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | position | int |
| 3 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x0E9E95FDEDCC9D35, -- _SET_PED_FORMATION_POSITION
PlayerPedId(), -- Ped ped
0, -- int position
false -- BOOL toggle
)Citizen.invokeNative("0x0E9E95FDEDCC9D35", // _SET_PED_FORMATION_POSITION
PlayerPedId(), // Ped ped
0, // int position
false // BOOL toggle
);Function.Call((Hash)0x0E9E95FDEDCC9D35, // _SET_PED_FORMATION_POSITION
API.PlayerPedId(), // Ped ped
0, // int position
false // BOOL toggle
);Related PED natives
- _SET_FORMATION_AUTO_ASSIGN_POSITION
- _SET_PED_FIRING_PATTERN_2
- _SET_PED_FIRING_PATTERN_3
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
- _SET_PED_ANIMAL_DETECTION_MODIFIER
- _SET_PED_BEAT_MULTIPLIER
- _SET_PED_BLACKBOARD_BOOL
- _SET_PED_BLACKBOARD_FLOAT
- _SET_PED_BLACKBOARD_HASH
- _SET_PED_BLACKBOARD_INT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.