a documentation for the fivem script is available here fivem_script