The Lab
PED native

CREATE_PED_ON_MOUNT

returns Ped7 paramsbuild 1207

Spawns a ped of model modelHash riding mount in seat index, and returns its handle.

Signature

C
Ped CREATE_PED_ON_MOUNT(Ped mount, Hash modelHash, int index, BOOL p3, BOOL p4, BOOL p5, BOOL p6); // 0xF89AA2BD01FC06B7 b1207

Parameters

#NameType
1mountPed
2modelHashHash
3indexint
4p3BOOL
5p4BOOL
6p5BOOL
7p6BOOL

Facts

Facts about CREATE_PED_ON_MOUNT
Name
CREATE_PED_ON_MOUNT
Hash
0xF89AA2BD01FC06B7
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(0xF89AA2BD01FC06B7, -- CREATE_PED_ON_MOUNT
  PlayerPedId(), -- Ped mount
  GetHashKey("a_c_horse_arabian_white"), -- Hash modelHash
  0, -- int index
  false, -- BOOL p3
  false, -- BOOL p4
  false, -- BOOL p5
  false, -- BOOL p6
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xF89AA2BD01FC06B7", // CREATE_PED_ON_MOUNT
  PlayerPedId(), // Ped mount
  GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
  0, // int index
  false, // BOOL p3
  false, // BOOL p4
  false, // BOOL p5
  false, // BOOL p6
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xF89AA2BD01FC06B7, // CREATE_PED_ON_MOUNT
  API.PlayerPedId(), // Ped mount
  (uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
  0, // int index
  false, // BOOL p3
  false, // BOOL p4
  false, // BOOL p5
  false // BOOL p6
);
All PED natives

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