


More info about this on the concommand.Remove page. It's going to be very simple, since there is only one argument in the function and that would be the console command. Sometimes, you might want to remove a console command. More info about this on concommand.Add page. ply = Player // cmd = Console command // args = ArgumentsĬoncommand.Add ( "ConsoleCommand", function ( ply, cmd, args ) if args then // We're seeing if there are any arguments, arguments are stored on a table, so you will have to use args.
#GMOD CONSOLE COMMANDS CODE#
Lets make a simple code to test out arguments. The first argument returns the player who ran the console command, second returns what console command he ran, the third returns any possible arguments.Ĭoncommand.Add ( "ConsoleCommand", function ( ply, cmd, args ) end ) You'll want propably pretty often to have arguments on your console commands, I'll show you how it's made. 2018 Gmod Cheats Codes Gmod Wiremod E2 Expression2.
#GMOD CONSOLE COMMANDS MOD#
Just type ConsoleCommand in console to test it, after you have loaded the script.Ĭoncommand.Add ( "ConsoleCommand", function ( ) print ( "I am your first console command!" ) end ) Console command with arguments The weird and wonderful weapons of RWBY recreated in Garrys Mod using Expression 2. You can try its' functionality by just running this simple script. This is the second one, which I personally prefer to use.Ĭoncommand.Add ( "ConsoleCommand", function ( ) end ) There are two different ways to use this, this is the first one.Ĭoncommand.Add ( "ConsoleCommand", SomeFunction ) The first argument is what ever you want to have as the console command, and the second argument is the function you want to run with it. You will probably be using this one a lot, it adds a console command into your console when used client-sided, or to everyone's consoles when used server-sided. Release date january 10, 2021.This is an article which will explain you the basics of using console command functions in lua. All Cheats inside from the first CHEATBOOK January 1998 until today. Covering more than 25.700 Games, this database representsĪll genres and focuses on recent releases. Gamer and want a few extra weapons or lives to survive until the next level, this freeware cheat database can come to the rescue. XBox, Playstation 1 and 2, Playstation 3, Playstation 4, Sega, Nintendo 64, Wii U,ĭVD, Game Boy Advance, iPhone, Game Boy Color, N-Gage, Nintendo DS, PSP, Gamecube, Dreamcast, Xbox 360, Super Nintendo) easily accessible from one central location. Spotlight - New Version CheatBook DataBase 2021Ĭheatbook-Database 2021 is a freeware cheat code tracker that makes hints, Tricks, Tips and cheats (for PC, Walkthroughs, Visit Cheatinfo for more Cheat Codes, FAQs or Tips!
#GMOD CONSOLE COMMANDS PC#
Help out other players on the PC by adding a cheat or secret that you know! Submit your codes! Having Codes, cheat, hints, tips, trainer or tricks we dont have yet? The "Y" key to open the chat box, then type: "rusty bullet hole" To unlock the Secret Phrase Achievement, enter a game mode, press Play Around - Play a gamemode that isn't sandbox. One Week - One whole week of your life wasted. One Month - One whole month of your life wasted. Menu User - Open the spawnmenu 100,000 times. Marathon - Play on the same server & map for 8 hours. Half Marathon - Play on the same server & map for 4 hours. My profile", then "View all my games", then the game and view stats.Īddict - You have wasted a year of your life playing GMod!īad Coder - Experience 500 Lua programming errors. To view your achievements and stats in Steam, select "Community", then Thirdperson - Camera switches to third person mode.Ĭomplete the following tasks to unlock the corresponding achievement. Npc_create npc_citizen - Spawns a citizen.įirstperson - Camera switches back to first person. Impulse 101 - Gives the player the half life weapon set. Sv_cheats 1 - Allows the player to use the console commands. Noclip - Allows the player to fly trough objects. Note: this can only be used in single player mode. Screen should pop up and then type the code in the type section. To use the console commands press the ~ on your key board and a console Garry's Mod Cheats, Codes, Hints and Walkthroughs for PC Games. Garry's Mod Cheats, Cheat Codes, Hints, Tips
