# TASK::_TASK_EQUIP_HAT

- **Hash:** `0xAA0AF6025160243A`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskEquipHat`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_TASK_EQUIP_HAT

## Signature

```c
void _TASK_EQUIP_HAT(Object hatObject, Ped ped);
```

## Parameters

- `hatObject` (`Object`)
- `ped` (`Ped`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

_A*

*Source: 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

```lua
TaskEquipHat(hatObject, ped)

-- always available, by hash
Citizen.InvokeNative(0xAA0AF6025160243A, hatObject, ped)
```

### JavaScript

```js
TaskEquipHat(hatObject, ped);

// by hash
Citizen.invokeNative('0xAA0AF6025160243A', hatObject, ped);
```

### C#

```csharp
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.*
