{"hash":"0x77A1EEC547E7FCF1","ns":"TASK","name":"PLAY_ENTITY_SCRIPTED_ANIM","slug":"PLAY_ENTITY_SCRIPTED_ANIM","official":true,"named":true,"luaName":"PlayEntityScriptedAnim","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"args","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x77A1EEC547E7FCF1","gtaJhash":"0x02F72AE5","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/PLAY_ENTITY_SCRIPTED_ANIM","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/PLAY_ENTITY_SCRIPTED_ANIM.md","snippets":{"lua":"local args = PlayEntityScriptedAnim(entity, args)","luaInvoke":"local args = Citizen.InvokeNative(0x77A1EEC547E7FCF1, entity, Citizen.PointerValueIntInitialized(args))","js":"const args = PlayEntityScriptedAnim(entity, args);","jsInvoke":"const args = Citizen.invokeNative('0x77A1EEC547E7FCF1', entity, Citizen.pointerValueIntInitialized(args));","csharp":"var args = new OutputArgument();\nFunction.Call((Hash)0x77A1EEC547E7FCF1, entity, args);\n// args.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}