Experienced advise/ Link to help Lua Coding

Hi there im creating an animation script that when finished will be released on the forums.
I have become a little stuck- I have the animation working but the length is short and im not to sure what the numerical values and true/false entries do can some one explain pls?
TaskPlayAnim(GetPlayerPed(-1),"…", “…”, 1.0,-1.0, 5000, 1, 1, false, false, false)

thanks in advance

https://runtime.fivem.net/doc/reference.html#_0xEA47FE3719165B94

Thanks alot i really appreciate it!