Garry's Mod Wiki

Revision Difference

ConVars_In_Garrysmod#560678

<cat>Play</cat> Garry's Mod adds a bunch of additional console commands and variables alongside with the [Source Engine default ones](https://developer.valvesoftware.com/wiki/Console_Command_List). <note> This is not a list of ALL the convars added by gmod, there are many many more. If you are trying to look for one in particular there are two important console commands to know: ⤶ first is the `find` command, you can add search arguments after it to search through all the console commands to return the one your looking for. for example if i wanted to find all the vgui commands i could do `find vgui` ⤶ the second is `cvarlist` this will print out every consolevar currently loaded, HOWEVER *THE CONSOLE LINE LIMIT OFTEN IS REACHED* which means many of them will be cut off at the top ⤶ The first command is `find`. You can add search arguments after it to search through all the console commands to return the one your looking for. For example, if I wanted to find all the vgui commands I could run `find vgui` ⤶ The second command is `cvarlist`. This will print out every consolevar currently loaded, HOWEVER *THE CONSOLE LINE LIMIT OFTEN IS REACHED* which means many of them will be cut off at the top </note> ## Lua related console variables Command | Default | Description | --------|---------|------------| | sv_allowcslua | 1 | Allow clients on the server to run lua_openscript_cl and lua_run_cl. | | sv_kickerrornum | 0 | If a client's amount of clientside errors reaches this value, the client is automatically disconnected from the server. A value of 0 means disabling this functionality. | ## Physics Gun specific console variables Command | Default | Description | --------|---------|------------| | physgun_timeToArrive | 0.05 | How fast the held entity should arrive to target position in front of the player | | physgun_timeToArriveRagdoll | 0.1 | Same as above but for ragdolls | | physgun_teleportDistance | 0 | If distance between target position and current position of held entity is greater than this, the held entity will teleport to target position, instead of trying to get there by "flying" | | physgun_limited | 0 | When enabled the physgun can only pickup props and ragdolls. | | physgun_rotation_sensitivity | 0.05 | The sensitivity of rotation | | physgun_wheelspeed | 10 | The sensitivity of scrolling | | physgun_maxAngular | 5000 | Max angular velocity of held entity | | physgun_maxAngularDamping | 10000 | | | physgun_maxSpeed | 5000 | Max velocity of held entity | | physgun_maxSpeedDamping | 10000 | | | gm_snapgrid | 0 | Snaps your props to a grid based on the value set | | gm_snapangles | 45 | How many degrees should the entity snap when rotating with shift+e | ## Miscellaneous console variables Command | Default | Description | --------|---------|------------| | cl_steamoverlay_pos | 1 (Top Right) | Which corner to position the steam overlay notifications.<br/><br/>0=Top Left, 1=Top Right, 2=Bottom Left, 3=Bottom Right | | cc_lang | Steam language-dependent | Changes the language used by closed captions in HL2. |