global_set

🟩 Executable on Server

global_set

global_set <globalname> <state>: Sets the state of the given env_global (0 = OFF, 1 = ON, 2 = DEAD).

Warning:

This is a cheat command and can only be used when sv_cheats is set to 1.