okay, I’m learning LUA only for GMod, and certain things i could only figure out how to do in multi-line configs, so it has to be a file, and can’t be phrased into an LUA_run entity.
So how can i run an LUA file either server- or client-side?
I’ve tried using concommand, but Lua_run, lua_run_cl, and lua_openscript are all blacklisted, garry disabled both point_whatever_commands, and I’m all out of ideas.
else; can someone help me make a single line lua script for lua_run that will:
turn off ALL player flashlights (if they are on), i can do it for only the player that triggers it, but i want to turn out all flashlights, then lock them off (horror map…)
give a player a weapon, or parent something to them if their steamID is in a list, and possibly only affect people not in the specified list?
I’ve seen some people ask this before, but their questions were dated, and not answered, so I’m going to try to get help again