HolyLib Wiki

cvar.SetValue

 boolean cvar.SetValue( string convarName, string value )

Description

Sets the value of the given ConVar even if it's blocked behind cheats.

Arguments

1string convarName

The ConVar to set the value on

2string value

The value to set

Returns

1boolean success

true if the value was successfully set