Implement TaskScriptedAnimation as a CFX native

Since TaskScriptedAnimation is a valuable native that allows easy combination of animations or playing animations on specific body parts using ‘filters’.

However, the issue is that you cannot use it as it requires structs as data, as indicated in the native description.

It would be beneficial to have a CFX Native that wraps around this native to make it accessible.

You can use this native but its not simple on how, in Lua you would have to use DataView or DataBuffers from what gottfried made, in JS you would use array buffers, and in C# i think you just use regular old structs.

Do you have an example, on how can I use the native?

I wrote with Disquse some time ago, and I got this response:

Disquse 10.11.2022 18:11
it’s not possible to call this native properly in FiveM
(as there’s sandboxing to make this platform safe-to-use)