#
autorun
Autorun is a special folder under the luas
directory.
These folders get generated when needed, you can use this to create automated startup scripts.
#
Locations
/autorun/*.lua
- Executes shared lua files both menu & client
- On the client this will execute as soon as the lua_State is created, which is before
lua/includes/init.lua
- On the menu this will execute as soon as you initialize or attach to the process
/autorun/firstframe/*.lua
- Executes shared lua files both menu & client
- On the client this will execute as soon as the first-frame of the game-world is rendered
- On the menu this will execute as soon as the first-frame of the game-world is rendered
/autorun/client/*.lua
- On the client this will execute as soon as the lua_State is created, which is before
lua/includes/init.lua
/autorun/menu/*.lua
- On the menu this will execute as soon as you initialize or attach to the process
/autorun/client/firstframe/*.lua
- On the client this will execute as soon as the first-frame of the game-world is rendered
/autorun/menu/firstframe/*.lua
- On the menu this will execute as soon as the first-frame of the game-world is rendered
/autorun/client/[SERVER_ADDRESS]/*.lua
- This is server specific based on
IP_PORT
format, for example:127.0.0.1_27017
, for localhost it would beloopback
- On the client this will execute as soon as the lua_State is created, which is before
lua/includes/init.lua
/autorun/menu/[SERVER_ADDRESS]/*.lua
- This is server specific based on
IP_PORT
format, for example:127.0.0.1_27017
, for localhost it would beloopback
- On the menu this will execute as soon as the client's lua_State is created, which is before
lua/includes/init.lua
/autorun/client/[SERVER_ADDRESS]/firstframe/*.lua
- This is server specific based on
IP_PORT
format, for example:127.0.0.1_27017
, for localhost it would beloopback
- On the client this will execute as soon as the first-frame of the game-world is rendered
/autorun/menu/[SERVER_ADDRESS]/firstframe/*.lua
- This is server specific based on
IP_PORT
format, for example:127.0.0.1_27017
, for localhost it would beloopback
- On the menu this will execute as soon as the first-frame of the game-world is rendered