_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
Hash
0xAA0AF6025160243ARuntime name
TaskEquipHatNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _TASK_EQUIP_HAT(Object hatObject, Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
hatObject | Object | — |
ped | Ped | — |
Returns void
Description
Immediately applies the given hat to the ped’s head without any animation Directly equips the hat, skipping the pickup anim flow
Usage
TaskEquipHat(hatObject, ped)
-- always works, by hash
Citizen.InvokeNative(0xAA0AF6025160243A, hatObject, ped)JavaScript and C#
TaskEquipHat(hatObject, ped);
// by hash
Citizen.invokeNative('0xAA0AF6025160243A', hatObject, ped);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.