• GMod Loop Cmds
    4 replies, posted
Hey! I was wondering if anyone knew how to do a little bit of coding, I am very new to Garry's mod's lua, Is there a way anybody knows how to do something such as loop the command "r_cleardecals" with a 1 minute delay?
https://wiki.garrysmod.com/page/timer/Simple I do believe you can use the search features of google and the official GMod wiki to get it all working.
I tried number = 0 while number < 1 do  timer.Simple( 5, function())  RunConsoleCommand("brax_windowrepair") end
Did you? Did you even read the timer.Create page?
Everything about your code is hilarious.
Sorry, you need to Log In to post a reply to this thread.