The Lab
TASK native

_TASK_PLAY_EMOTE

returns void9 paramsbuild 1207

Tasks ped to play the emote emote of type emoteType, with options controlling playback and props.

Signature

C
void _TASK_PLAY_EMOTE(Ped ped, int emoteType, int playbackMode, Hash emote, BOOL isSecondaryTask, BOOL canBreakOut, BOOL disableEarlyOutAnimTag, BOOL ignoreInvalidMainTask, BOOL destroyProps); // 0x884E3436CC1F41DD b1207

Parameters

#NameType
1pedPed
2emoteTypeint
3playbackModeint
4emoteHash
5isSecondaryTaskBOOL
6canBreakOutBOOL
7disableEarlyOutAnimTagBOOL
8ignoreInvalidMainTaskBOOL
9destroyPropsBOOL

Facts

Facts about _TASK_PLAY_EMOTE
Name
_TASK_PLAY_EMOTE
Hash
0x884E3436CC1F41DD
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x884E3436CC1F41DD, -- _TASK_PLAY_EMOTE
  PlayerPedId(), -- Ped ped
  0, -- int emoteType
  0, -- int playbackMode
  GetHashKey("name"), -- Hash emote
  false, -- BOOL isSecondaryTask
  false, -- BOOL canBreakOut
  false, -- BOOL disableEarlyOutAnimTag
  false, -- BOOL ignoreInvalidMainTask
  false -- BOOL destroyProps
)
JavaScript
Citizen.invokeNative("0x884E3436CC1F41DD", // _TASK_PLAY_EMOTE
  PlayerPedId(), // Ped ped
  0, // int emoteType
  0, // int playbackMode
  GetHashKey("name"), // Hash emote
  false, // BOOL isSecondaryTask
  false, // BOOL canBreakOut
  false, // BOOL disableEarlyOutAnimTag
  false, // BOOL ignoreInvalidMainTask
  false // BOOL destroyProps
);
C#
Function.Call((Hash)0x884E3436CC1F41DD, // _TASK_PLAY_EMOTE
  API.PlayerPedId(), // Ped ped
  0, // int emoteType
  0, // int playbackMode
  (uint)API.GetHashKey("name"), // Hash emote
  false, // BOOL isSecondaryTask
  false, // BOOL canBreakOut
  false, // BOOL disableEarlyOutAnimTag
  false, // BOOL ignoreInvalidMainTask
  false // BOOL destroyProps
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.