The Lab
TASK native

TASK_MOUNT_ANIMAL

returns void8 paramsbuild 1207

Tasks ped to mount mount in seat seatIndex, moving at pedSpeed and giving up after timer.

Signature

C
void TASK_MOUNT_ANIMAL(Ped ped, Ped mount, int timer, int seatIndex, float pedSpeed, int mountStyle, Any p6, Any p7); // 0x92DB0739813C5186 b1207

Parameters

#NameType
1pedPed
2mountPed
3timerint
4seatIndexint
5pedSpeedfloat
6mountStyleint
7p6Any
8p7Any

Facts

Facts about TASK_MOUNT_ANIMAL
Name
TASK_MOUNT_ANIMAL
Hash
0x92DB0739813C5186
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(0x92DB0739813C5186, -- TASK_MOUNT_ANIMAL
  PlayerPedId(), -- Ped ped
  PlayerPedId(), -- Ped mount
  0, -- int timer
  0, -- int seatIndex
  0.0, -- float pedSpeed
  0, -- int mountStyle
  0, -- Any p6
  0 -- Any p7
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x92DB0739813C5186", // TASK_MOUNT_ANIMAL
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Ped mount
  0, // int timer
  0, // int seatIndex
  0.0, // float pedSpeed
  0, // int mountStyle
  0, // Any p6
  0 // Any p7
);
C#
Function.Call((Hash)0x92DB0739813C5186, // TASK_MOUNT_ANIMAL
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId(), // Ped mount
  0, // int timer
  0, // int seatIndex
  0.0f, // float pedSpeed
  0, // int mountStyle
  0, // Any p6
  0 // Any p7
);
All TASK natives

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