ConVar/SetBool

From Garry's Mod
Jump to: navigation, search
 ConVar:SetBool( )

Description

Sets a ConVar's value to 1 or 0 based on the input boolean. This can only be ran on ConVars created from within Lua.

Arguments

boolean value

Value to set the ConVar to.
Personal tools
Navigation