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