RedM Natives

TASK_HORSE_ACTION

Hash0xA09CFD29100F06C3
Runtime nameTaskHorseAction
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

void TASK_HORSE_ACTION(Ped ped, int action, Ped targetPed, Any p3);

Parameters

NameTypeDescription
pedPed—
actionint—
targetPedPed—
p3Any—

Returns void

Description

https://github.com/femga/rdr3_discoveries/tree/master/tasks/TASK_HORSE_ACTION
Params: p2, p3 are set to 0 in R* Scripts

Usage

Lua
TaskHorseAction(ped, action, targetPed, p3)

-- always works, by hash
Citizen.InvokeNative(0xA09CFD29100F06C3, ped, action, targetPed, p3)
JavaScript and C#
JavaScript
TaskHorseAction(ped, action, targetPed, p3);

// by hash
Citizen.invokeNative('0xA09CFD29100F06C3', ped, action, targetPed, p3);
C#
Function.Call((Hash)0xA09CFD29100F06C3, ped, action, targetPed, p3);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.