{"hash":"0xEA47FE3719165B94","ns":"TASK","name":"TASK_PLAY_ANIM","slug":"TASK_PLAY_ANIM","official":true,"named":true,"luaName":"TaskPlayAnim","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"animDict","type":"const char*"},{"name":"animName","type":"const char*"},{"name":"speed","type":"float"},{"name":"speedMultiplier","type":"float"},{"name":"duration","type":"int"},{"name":"flags","type":"int"},{"name":"playbackRate","type":"float"},{"name":"p8","type":"BOOL"},{"name":"ikFlags","type":"int"},{"name":"p10","type":"BOOL"},{"name":"taskFilter","type":"const char*"},{"name":"p12","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"https://github.com/femga/rdr3_discoveries/tree/master/animations\nflags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eScriptedAnimFlags\nikFlags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eIkControlFlags"},{"source":"vorp","format":"text","body":"https://github.com/femga/rdr3_discoveries/tree/master/animations\n\nflags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eScriptedAnimFlags\n\nikFlags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eIkControlFlags \n\nanimFilters: https://pastebin.com/1sGhKVvS"}],"examples":[],"aliases":[],"enums":["eIkControlFlags","eScriptedAnimFlags"],"related":[],"build":"1207","gtaHash":"0xEA47FE3719165B94","gtaJhash":"0x5AB552C6","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_PLAY_ANIM","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_PLAY_ANIM.md","snippets":{"lua":"TaskPlayAnim(ped, animDict, animName, speed, speedMultiplier, duration, flags, playbackRate, p8, ikFlags, p10, taskFilter, p12)","luaInvoke":"Citizen.InvokeNative(0xEA47FE3719165B94, ped, animDict, animName, speed, speedMultiplier, duration, flags, playbackRate, p8, ikFlags, p10, taskFilter, p12)","js":"TaskPlayAnim(ped, animDict, animName, speed, speedMultiplier, duration, flags, playbackRate, p8, ikFlags, p10, taskFilter, p12);","jsInvoke":"Citizen.invokeNative('0xEA47FE3719165B94', ped, animDict, animName, speed + 0.0000001, speedMultiplier + 0.0000001, duration, flags, playbackRate + 0.0000001, p8, ikFlags, p10, taskFilter, p12);","csharp":"Function.Call((Hash)0xEA47FE3719165B94, ped, animDict, animName, speed, speedMultiplier, duration, flags, playbackRate, p8, ikFlags, p10, taskFilter, p12);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}