Template:Varcom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(i think i got this right on the first try)
 
(almost lol)
Line 13: Line 13:
{{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}}
{{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}}
<pre>{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</pre>
<pre>{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</pre>
{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}
{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</noinclude>

Revision as of 23:39, 26 July 2018

{{{1}}}

{{{2}}}

This template can be used for both console variables and console commands.

Parameters:

  • {{{1}}}: Name of the variable or command.
    • {{{p}}}: Parameter(s) of the command, or for variables, the default value.
      • {{{d}}}: Descriptor for whatever is put in {{{p}}}. If {{{p}}} is not defined, {{{d}}} will not show.
  • {{{2}}}: Description of the command or variable.
{{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}}

noclip

Makes player ignore gravity and all solidity. Useful for observing and debugging.
{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}

sv_cheats 0(arbitrary number)

1 enables cheats on the server, which disables achievement progress and enables many more console commands.