# TASK::_TASK_PLAY_EMOTE

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

## Signature

```c
void _TASK_PLAY_EMOTE(Ped ped, int emoteType, int playbackMode, Hash emote, BOOL isSecondaryTask, BOOL canBreakOut, BOOL disableEarlyOutAnimTag, BOOL ignoreInvalidMainTask, BOOL destroyProps);
```

## Parameters

- `ped` (`Ped`)
- `emoteType` (`int`)
- `playbackMode` (`int`)
- `emote` (`Hash`)
- `isSecondaryTask` (`BOOL`)
- `canBreakOut` (`BOOL`)
- `disableEarlyOutAnimTag` (`BOOL`)
- `ignoreInvalidMainTask` (`BOOL`)
- `destroyProps` (`BOOL`)

## Returns

`void`

## Description

Similar to 0xB31A277C1AC7B7FF but checks if the ped's inventory contains the specified emote kit.

## Usage

### Lua

```lua
TaskPlayEmote(ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps)

-- always available, by hash
Citizen.InvokeNative(0x884E3436CC1F41DD, ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps)
```

### JavaScript

```js
TaskPlayEmote(ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);

// by hash
Citizen.invokeNative('0x884E3436CC1F41DD', ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);
```

### C#

```csharp
Function.Call((Hash)0x884E3436CC1F41DD, ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- 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.*
