TASK_DISMOUNT_ANIMAL
Dismounts the ped from the animal it's mounted on.
Hash
0x48E92D3DDE23C23ARuntime name
TaskDismountAnimalNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_DISMOUNT_ANIMAL(Ped rider, int taskFlag, Any p2, Any p3, Any p4, Ped targetPed);Parameters
| Name | Type | Description |
|---|---|---|
rider | Ped | — |
taskFlag | int | — |
p2 | Any | — |
p3 | Any | — |
p4 | Any | — |
targetPed | Ped | — |
Returns void
Description
Dismounts the ped from the animal it's mounted on. taskFlag affects what side the rider gets off. p2-p5 are almost always 0.
flags: See TASK_ENTER_VEHICLE
Usage
TaskDismountAnimal(rider, taskFlag, p2, p3, p4, targetPed)
-- always works, by hash
Citizen.InvokeNative(0x48E92D3DDE23C23A, rider, taskFlag, p2, p3, p4, targetPed)JavaScript and C#
TaskDismountAnimal(rider, taskFlag, p2, p3, p4, targetPed);
// by hash
Citizen.invokeNative('0x48E92D3DDE23C23A', rider, taskFlag, p2, p3, p4, targetPed);Function.Call((Hash)0x48E92D3DDE23C23A, rider, taskFlag, p2, p3, p4, targetPed);Enums and flags
- eEnterExitVehicleFlags 29 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.