TASK_HORSE_ACTION
Tasks the horse ped to perform the action action, such as rearing or bucking.
Signature
void TASK_HORSE_ACTION(Ped ped, int action, Ped targetPed, Any p3); // 0xA09CFD29100F06C3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | action | int |
| 3 | targetPed | Ped |
| 4 | p3 | Any |
Facts
| Name | TASK_HORSE_ACTION |
|---|---|
| Hash | 0xA09CFD29100F06C3 |
| 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(0xA09CFD29100F06C3, -- TASK_HORSE_ACTION
PlayerPedId(), -- Ped ped
0, -- int action
PlayerPedId(), -- Ped targetPed
0 -- Any p3
)Citizen.invokeNative("0xA09CFD29100F06C3", // TASK_HORSE_ACTION
PlayerPedId(), // Ped ped
0, // int action
PlayerPedId(), // Ped targetPed
0 // Any p3
);Function.Call((Hash)0xA09CFD29100F06C3, // TASK_HORSE_ACTION
API.PlayerPedId(), // Ped ped
0, // int action
API.PlayerPedId(), // Ped targetPed
0 // Any p3
);Related TASK natives
- TASK_LEAD_HORSE
- TASK_STOP_LEADING_HORSE
- TASK_VEHICLE_TEMP_ACTION
- _GET_SCRIPT_TASK_ACTION_TIME
- _TASK_EMOTE_ACTION
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_HOGTIE_TARGET_PED
- TASK_HOGTIEABLE
- TASK_HANDS_UP
- TASK_HITCH_ANIMAL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.