Lua openscript
From GMod Wiki
Go to: Console |
Command | |
Syntax | lua_openscript String file name |
Available On: | |
Part Of: | Garry's Mod |
Description: | |
A console command that allows you to run any lua script. |
Examples
Description | Running a serverside script located in the base /lua/ folder. |
---|---|
Used on | |
Code | lua_openscript myscript.lua |
Output | The script has been read and executed by the engine. |
Additional Notes
- This loads the script from the server instance. To load script clientside, use lua_openscript_cl.