Hello. Is there, by any chance, a way to change a console variable via Lua, or is that something I'd have to create a workaround for? Any help would be appreciated.
It depends exactly what you're looking to do. You can't change a console variable's value directly, but you can use the COM_BufInsertText function to force a player to execute something in the console. This has some pitfalls, as it literally is as if that player wrote the command in and executed it themselves.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.