FAQ Database Discussion Community


Shorten useless coding? [closed]

php,steam-web-api,garrys-mod
Creating my loading screen on garrys mod, and seeing this "useless" coding, and was betting that there is a way to shorten it massively, however I am quite a php nooby and was wondering if there was a perhaps a way to use arrays or something to make it easier/shorter?...

Garry's Mod RunConsoleCommand() does not work correctly

lua,quotes,garrys-mod
I want to let some friends connect to my server just by clicking a simple button in the Garry's Mod menu. To do that I have added some code to the mainmenu.lua file of Garry's mod. The Button and all other things work, only the RunConsoleCommand("connect", "mycoolgmodserverip.com") fails... In the...