Convars 
s
c
#
GetBool(namestring): bool | nil
s
c
#

Returns the convar as a boolean flag.
GetCommandClient(): CDOTAPlayer
s
c
#

Returns the player who issued this console command.
GetDOTACommandClient(): CDOTAPlayer
s
c
#

Returns the DOTA player who issued this console command.
GetFloat(namestring): float | nil
s
c
#

Returns the convar as a float. May return null if no such convar.
GetInt(namestring): int | nil
s
c
#

Returns the convar as an int. May return null if no such convar.
GetStr(namestring): string | nil
s
c
#

Returns the convar as a string. May return null if no such convar.
RegisterCommand(namestring, callback(namestring...args[string]) nil, helpStringstring, flagsConVarFlags): nil
s
c
#

Register a console command.
RegisterConvar(namestring, defaultValuestring, helpStringstring, flagsConVarFlags): nil
s
c
#

Register a new console variable.
SetBool(namestring, valuebool): nil
s
c
#

Sets the value of the convar to the bool.
SetFloat(namestring, valuefloat): nil
s
c
#

Sets the value of the convar to the float.
SetInt(namestring, valueint): nil
s
c
#

Sets the value of the convar to the int.
SetStr(namestring, valuestring): nil
s
c
#

Sets the value of the convar to the string.