> For the complete documentation index, see [llms.txt](https://docs.cherax.vip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherax.vip/lua-documentation/api-reference/natives/script.md).

# SCRIPT

```
int START_NEW_SCRIPT(string scriptName, int stackSize)
Player GET_HOST_OF_THIS_SCRIPT()
float GET_GLOBAL_F(int global)
int GET_GLOBAL_I(int global)
void SET_GLOBAL_F(int global, float value)
void SET_GLOBAL_I(int global, int value)
float GET_LOCAL_F(Hash script, int local)
int GET_LOCAL_I(Hash script, int local)
void SET_LOCAL_F(Hash script, int local, float value)
void SET_LOCAL_I(Hash script, int local, int value)
```
