The Lab
TASK native

TASK_HORSE_ACTION

returns void4 paramsbuild 1207

Tasks the horse ped to perform the action action, such as rearing or bucking.

Signature

C
void TASK_HORSE_ACTION(Ped ped, int action, Ped targetPed, Any p3); // 0xA09CFD29100F06C3 b1207

Parameters

#NameType
1pedPed
2actionint
3targetPedPed
4p3Any

Facts

Facts about TASK_HORSE_ACTION
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.

Lua
Citizen.InvokeNative(0xA09CFD29100F06C3, -- TASK_HORSE_ACTION
  PlayerPedId(), -- Ped ped
  0, -- int action
  PlayerPedId(), -- Ped targetPed
  0 -- Any p3
)
JavaScript
Citizen.invokeNative("0xA09CFD29100F06C3", // TASK_HORSE_ACTION
  PlayerPedId(), // Ped ped
  0, // int action
  PlayerPedId(), // Ped targetPed
  0 // Any p3
);
C#
Function.Call((Hash)0xA09CFD29100F06C3, // TASK_HORSE_ACTION
  API.PlayerPedId(), // Ped ped
  0, // int action
  API.PlayerPedId(), // Ped targetPed
  0 // Any p3
);
All TASK natives

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