{"hash":"0x884E3436CC1F41DD","ns":"TASK","name":"_TASK_PLAY_EMOTE","slug":"_TASK_PLAY_EMOTE","official":false,"named":true,"luaName":"TaskPlayEmote","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"emoteType","type":"int"},{"name":"playbackMode","type":"int"},{"name":"emote","type":"Hash"},{"name":"isSecondaryTask","type":"BOOL"},{"name":"canBreakOut","type":"BOOL"},{"name":"disableEarlyOutAnimTag","type":"BOOL"},{"name":"ignoreInvalidMainTask","type":"BOOL"},{"name":"destroyProps","type":"BOOL"}],"summary":"Similar to 0xB31A277C1AC7B7FF but checks if the ped's inventory contains the specified emote kit.","descriptions":[{"source":"alloc8or","format":"text","body":"Similar to 0xB31A277C1AC7B7FF but checks if the ped's inventory contains the specified emote kit."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_TASK_PLAY_EMOTE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_TASK_PLAY_EMOTE.md","snippets":{"lua":"TaskPlayEmote(ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps)","luaInvoke":"Citizen.InvokeNative(0x884E3436CC1F41DD, ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps)","js":"TaskPlayEmote(ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);","jsInvoke":"Citizen.invokeNative('0x884E3436CC1F41DD', ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);","csharp":"Function.Call((Hash)0x884E3436CC1F41DD, ped, emoteType, playbackMode, emote, isSecondaryTask, canBreakOut, disableEarlyOutAnimTag, ignoreInvalidMainTask, destroyProps);","notes":["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."]}}