lua_openscript_cl

Can you open a script in a different folder and if so how or is there a better alternative?

You just type the path to file. If you want to run a script in lua/stuff/client/, you’d just do

lua_openscript_cl stuff/client/script.lua - it should even allow you to autocomplete the path.

No outside the lua folder like garrysmod/maps

[editline]1st July 2014[/editline]

or garrysmod/materials

Why would you want to do that?

mostlikely a cheater

I heard you get gac banned for lua files in your lua folder so I dont wanna get banned I not using hacks I’m doing the on a single player

[editline]1st July 2014[/editline]

^ No Im not cheating Im trying to learn how to code lua so me and my friend can start a server.

id recommend luapad then if thats the case

Thank you.