The Lab
PED native

SET_PED_ONTO_MOUNT

returns void4 paramsbuild 1207

Instantly places ped on mount in seat seatIndex.

Signature

C
void SET_PED_ONTO_MOUNT(Ped ped, Ped mount, int seatIndex, BOOL p3); // 0x028F76B6E78246EB b1207

Parameters

#NameType
1pedPed
2mountPed
3seatIndexint
4p3BOOL

Facts

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

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