RedM Natives

_TASK_EQUIP_HAT

Immediately applies the given hat to the ped’s head without any animation Directly equips the hat, skipping the pickup anim flow

Hash0xAA0AF6025160243A
Runtime nameTaskEquipHat
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _TASK_EQUIP_HAT(Object hatObject, Ped ped);

Parameters

NameTypeDescription
hatObjectObject—
pedPed—

Returns void

Description

VORPCORE RDR3natives

Immediately applies the given hat to the ped’s head without any animation Directly equips the hat, skipping the pickup anim flow

Usage

Lua
TaskEquipHat(hatObject, ped)

-- always works, by hash
Citizen.InvokeNative(0xAA0AF6025160243A, hatObject, ped)
JavaScript and C#
JavaScript
TaskEquipHat(hatObject, ped);

// by hash
Citizen.invokeNative('0xAA0AF6025160243A', hatObject, ped);
C#
Function.Call((Hash)0xAA0AF6025160243A, hatObject, ped);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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