{"hash":"0x126EF75F1E17ABE5","ns":"TASK","name":"TASK_SCRIPTED_ANIMATION","slug":"TASK_SCRIPTED_ANIMATION","official":true,"named":true,"luaName":"TaskScriptedAnimation","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"args","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x126EF75F1E17ABE5","gtaJhash":"0xFC2DCF47","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_SCRIPTED_ANIMATION","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_SCRIPTED_ANIMATION.md","snippets":{"lua":"local args = TaskScriptedAnimation(ped, args)","luaInvoke":"local args = Citizen.InvokeNative(0x126EF75F1E17ABE5, ped, Citizen.PointerValueIntInitialized(args))","js":"const args = TaskScriptedAnimation(ped, args);","jsInvoke":"const args = Citizen.invokeNative('0x126EF75F1E17ABE5', ped, Citizen.pointerValueIntInitialized(args));","csharp":"var args = new OutputArgument();\nFunction.Call((Hash)0x126EF75F1E17ABE5, ped, 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."]}}