Garry's Mod

Garry's Mod

100 ratings
Expanded Console Commands
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Tags: misc
File Size
Posted
Updated
4.856 KB
21 Apr, 2014 @ 11:52am
29 Apr, 2014 @ 1:19pm
3 Change Notes ( view )

Subscribe to download
Expanded Console Commands

Description
I decided to create this because noone else did. This addon adds a bunch of console commands with which you can customize different things or get some helpfull information. I will be adding more. If you have any other ideas on what should I add leave a comment. Here is the list of console commands. If you ever forget some of them, write "list_commands" to console to print all commands for you to read. I will still be adding more commands which you can use, or you can ask for some you want to see here.

NOTE: Some ConVars that have _/10 at the end are divided by 10. That's because the LUA gets Integer from that ConVars and sets the variable for function, and Integers can only be whole numbers.

COMMAND PARAMENTER
entity_extinguish none
entity_ignite number(10 if not set)
entity_freeze none
entity_unfreeze none
entity_set_angles_player number number number
entity_set_angles_view none
entity_set_armor number(must be player)
entity_set_colour number number number
entity_set_gravity_multiplier number
entity_set_health number
entity_set_jumppower number
entity_set_material "material_path/material_file"
entity_set_maxhealth number
entity_set_model "model_path/model_file.mdl"
entity_set_player_as_owner none
entity_set_runspeed number
entity_set_scale number
entity_set_skin number
entity_set_solid number
entity_set_vector number number number
entity_set_velocity number number number
entity_set_walkspeed number
entity_set_crouchspeed number
entity_set_duckspeed number
entity_set_unduckspeed number
entity_get_angles_player none
entity_get_classname none
entity_get_health none
entity_get_material none
entity_get_maxhealth none
entity_get_model none
entity_get_skin none
entity_get_vector none
entity_give_allammo none
entity_give_allweapons none
entity_give_ammo number string(name of ammo)
entity_give_weapon string(weapon name)
entity_remove_allweapons none
entity_remove_allammo none
entity_remove_ammo number string(name of ammo)
entity_weapon_set_clip number
entity_weapon_drop none
self_extinguish none
self_ignite number(10 if not set)
self_freeze none
self_unfreeze none
self_set_angles number number number
self_set_armor number
self_set_colour number number number
self_set_gravity_multiplier number
self_set_health number
self_set_jumppower number
self_set_material "material_path/material_file"
self_set_maxhealth number
self_set_model "model_path/model_file.mdl"
self_set_runspeed number
self_set_scale number
self_set_skin number
self_set_solid number
self_set_vector number number number
self_set_velocity number number number
self_set_walkspeed number
self_set_crouchspeed number
self_set_duckspeed number
self_set_unduckspeed number
self_get_angles none
self_get_health none
self_get_material none
self_get_maxhealth none
self_get_model none
self_get_skin none
self_get_vector none
self_give_allammo none
self_give_allweapons none
self_give_ammo number string(name of ammo)
self_give_weapon string(weapon name)
self_remove_allweapons none
self_remove_allammo none
self_remove_ammo number string(name of ammo)
self_weapon_set_clip number
self_weapon_drop none
freeze_all_props none
server_walkspeed number
server_runspeed number
server_duckspeed_/10 number
server_unduckspeed_/10 number
server_crouchspeed_/10 number
server_jumppower number
server_gravity_multiplier_/10 number
list_solid none
list_ammo none
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?