global_set Command


global_set [Variable Name] [0 / 1 / 2]

This command will set the state of the specified global variable. See argument information for help with state types.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

Variable NameThe name of the variable you wish to change the state of.
0 / 1 / 2The state you wish to set the variable to. Options are:
  • 0 - OFF
  • 1 - ON
  • 2 - DEAD

Extra Info

Sv_cheats Required? Yes
Client or Server Command? Server