Garry's Mod

Garry's Mod

Expanded Console Commands
147 Comments
Rosie 30 Jan @ 6:03pm 
I have one bind that does several different things but I tried to make it too long and can't attach any more commands to it. Currently looking for a mod to fix that.
samcorazin 15 Feb, 2024 @ 8:40pm 
FIX IT PLEASE!
Parasite 20 Dec, 2023 @ 2:14am 
Then console spams:

[Expanded Console Commands] lua/autorun/consolecommands.lua:1401: attempt to index upvalue 'convar_unduckspeed' (a nil value)
1. v - lua/autorun/consolecommands.lua:1401
2. unknown - lua/includes/modules/hook.lua:96

[Expanded Console Commands] lua/autorun/consolecommands.lua:1443: attempt to index upvalue 'convar_gravity' (a nil value)
1. v - lua/autorun/consolecommands.lua:1443
2. unknown - lua/includes/modules/hook.lua:96

No other addons installed.
I'm on the x86-64 beta.
I think the latest update broke it.
Parasite 20 Dec, 2023 @ 2:14am 
bug report.

[Expanded Console Commands] CreateConVar: Invalid ConVar name! (server_duckspeed_/10)
1. unknown - lua/autorun/consolecommands.lua:1380

[Expanded Console Commands] CreateConVar: Invalid ConVar name! (server_unduckspeed_/10)
1. unknown - lua/autorun/consolecommands.lua:1394

[Expanded Console Commands] CreateConVar: Invalid ConVar name! (server_crouchspeed_/10)
1. unknown - lua/autorun/consolecommands.lua:1408

[Expanded Console Commands] CreateConVar: Invalid ConVar name! (server_gravity_multiplier_/10)
1. unknown - lua/autorun/consolecommands.lua:1436
The Good Soldier Schweik 27 Sep, 2023 @ 8:57am 
add secondperson please
Jack eastwood 12 Aug, 2023 @ 4:35am 
add this: "console command: "INTERLOPE"
'Unknown Command' "INTERLOPE
console: Get s.interlope.pull:27015"
ø¤º°💖Jexy💖°º¤ø 1 Aug, 2023 @ 10:30pm 
make a command that automatically sends you to the singleplayer menu, my GMOD menu when it starts up is invisible so i cant play the game so it would be nice if i could download this addon so i can just say a command to actually play the game instead of waiting for another update
Willing19 12 Aug, 2022 @ 3:54am 
Idea: Add explode & gib console commands
AnonymoScoot  [author] 2 Aug, 2022 @ 3:10am 
Create a configuration file in your cfg folder for Garry's Mod, list the commands you wish to be applied, then you can execute the file using console command "exec"
wandering potato 1 Aug, 2022 @ 11:50am 
Is there a way to make it so that that I don't have to retype some commands in order to get the desired effect?
Soldier 25 Jul, 2019 @ 3:56pm 
can this be used for NPCs?
LORD_DEATHv11 8 Mar, 2017 @ 8:46am 
Can this be used to spot which files, effects, and resources are being used at certain times? I've been trying to find a rogue explosion effect hiding in my files. It'll be a pain to trouble shoot without any leads.
GeassGamer 20 Oct, 2016 @ 2:00pm 
Alright.
AnonymoScoot  [author] 19 Oct, 2016 @ 5:02am 
You can create a new custom weapon and change its properties inside the file.
GeassGamer 17 Oct, 2016 @ 3:54pm 
Is there a way to access these other scripts?
AnonymoScoot  [author] 17 Oct, 2016 @ 5:04am 
Fire rate and infinite ammo is via other scripts in the weapons themselves.
GeassGamer 16 Oct, 2016 @ 6:48pm 
Excuse me, AnonymoScout. Is there a way to change the fire rate or give infinite ammo into a clip? If not, will you ever add one of those two things in?
AnonymoScoot  [author] 8 May, 2016 @ 1:36am 
I guess you mean to get rid of HUD that displays health/ammo. This addon doesn't support that.
mossyisme 29 Apr, 2016 @ 8:54pm 
Is there a way to make my self transparent?
AnonymoScoot  [author] 9 Mar, 2016 @ 5:07am 
It should of work if you don't have any other conflicting addons.
B2B InsaneScientist 8 Mar, 2016 @ 12:25pm 
entity_set_scale 0.2, or 2, for example, an enlargement
AnonymoScoot  [author] 8 Mar, 2016 @ 8:10am 
What parameters are you using with the command? It has to be a number.
B2B InsaneScientist 7 Mar, 2016 @ 10:29am 
Yes, even if I am looking striaght at them
AnonymoScoot  [author] 7 Mar, 2016 @ 5:46am 
Make sure it is an NPC or Player who you are using it on.
B2B InsaneScientist 6 Mar, 2016 @ 9:50am 
The self works, but the entity it does not detect entities.
AnonymoScoot  [author] 6 Mar, 2016 @ 12:54am 
self_set_scale or entity_set_scale
B2B InsaneScientist 5 Mar, 2016 @ 2:45pm 
How would you set a player's scale?
AnonymoScoot  [author] 16 Dec, 2015 @ 5:19am 
I think you don't get it. The normal Half-Life 2 battery entity has a setted value where it adds armor and caps at 100 or if you already have bigger armor than 99 then it doesn't use up the battery. If you were to code an entity that gives armor when your armor is bellow 200 it will give armor and cap at the value 200.
B2B InsaneScientist 14 Dec, 2015 @ 11:04am 
Yeah, I know how to get armor greater than 100, I was wondering on the "max" armor so that batteries can replenish it, if you get me.
B2B InsaneScientist 14 Dec, 2015 @ 11:04am 
WIth what command on console?
AnonymoScoot  [author] 14 Dec, 2015 @ 5:47am 
Just write number bigger than 100.
B2B InsaneScientist 13 Dec, 2015 @ 7:04am 
Regarding to the max armor not existing, what do I have to type in the console to get armor bigger than 100? Or it has to be done on a notepad?
AnonymoScoot  [author] 9 Dec, 2015 @ 5:11am 
The Cvars are initialized properly on my machine so it has to be something worng on your machine.
GeassGamer 8 Dec, 2015 @ 12:59pm 
Yeah, you might need to initialize the Cvars, because it still doesn't work for me.
GeassGamer 8 Dec, 2015 @ 12:10pm 
there are no comflicting addons, so I might have to just redownload it.
AnonymoScoot  [author] 8 Dec, 2015 @ 6:42am 
It looks liek the addon is not working properly if it didn't initialize the Cvars. Try to redownload it or disable some potential conflicting addons.
GeassGamer 7 Dec, 2015 @ 2:50pm 
It even said that "self_set_walkspeed 500" is not a valid cvar. Have you used Cvars before, I'm not sure how to use them myself.
AnonymoScoot  [author] 7 Dec, 2015 @ 6:04am 
"self_set_walkspeed" takes integer, meaning a number, so you have to type something like "self_set_walkspeed 100".
GeassGamer 6 Dec, 2015 @ 10:05am 
Am I doing something wrong?
GeassGamer 6 Dec, 2015 @ 10:05am 
I put in your example, and it keeps talling me that It keeps telling me that "self_set_walkspeed" or "value0" (for the first quotation is) is not a valid cvar.
AnonymoScoot  [author] 6 Dec, 2015 @ 1:34am 
toggle "command" "value1" "value2" "value3"
GeassGamer 5 Dec, 2015 @ 3:21pm 
is there a way that you can set one bind to multiple commands, like toggling somethinng and untoggling it with the same bind key?
AnonymoScoot  [author] 5 Dec, 2015 @ 12:14pm 
Max armor is not a thing. The batteries that give suit give setted amount of it and the value caps at 100. There is only SetArmor() function so you can set armor to bigger numbers than 100.
B2B InsaneScientist 5 Dec, 2015 @ 8:38am 
Could you add a max armor by any chance? Thanks! :)
DickChap 15 Nov, 2015 @ 1:44pm 
Idk if garrys mod had an update that broke this or I have conflicting addons but I cant change my walk speed or run speed, I can edit everything else but not the walk/run speed
AnonymoScoot  [author] 12 Nov, 2015 @ 6:04am 
Commands with entity_* prefixes are commands that apply something to the entity player is looking at, self_* applies commands to player, server_* commands will write a variable to server so the variable will be applied everytime the server is running.
GeassGamer 11 Nov, 2015 @ 1:55pm 
Well, a better question would be, is there a way to make certain command settings enabled by default?
GeassGamer 11 Nov, 2015 @ 1:08pm 
Then what's the point of the entity_set commands?
AnonymoScoot  [author] 11 Nov, 2015 @ 5:17am 
That command is not included in this addon.
GeassGamer 10 Nov, 2015 @ 4:35pm 
How do I set things for npc's, whether hostile or friendly?