TASK_MOUNT_ANIMAL
Tasks ped to mount mount in seat seatIndex, moving at pedSpeed and giving up after timer.
Signature
void TASK_MOUNT_ANIMAL(Ped ped, Ped mount, int timer, int seatIndex, float pedSpeed, int mountStyle, Any p6, Any p7); // 0x92DB0739813C5186 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | mount | Ped |
| 3 | timer | int |
| 4 | seatIndex | int |
| 5 | pedSpeed | float |
| 6 | mountStyle | int |
| 7 | p6 | Any |
| 8 | p7 | Any |
Facts
| 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.
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
)// 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
);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
);Related TASK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.