What is the console command to remove an overlay from your screen? And if this in the wrong section then I will word it differerently: How do you run the console command to remove an overlay from your screen in Lua?
I already know [lua]player:ConCommand("r_screenoverlay effects/file.vmt[/lua] creates it and I've tested this to work. I just need to find out how to remove it.
Just
[lua]
player:ConCommand("r_screenoverlay")
[/lua]
I think.
that shouldent work. you have to do
[lua]player:ConCommand("r_screenoverlay 0")[/lua]
Alright thanks guys, my Night Vision script is coming out nicely already, I'm bootin' up Gmod to test Tobbas like of code quick, this is my first time adding console commands :v:
Sorry, you need to Log In to post a reply to this thread.