Convar
SetString
Convar.SetString ("r_aspectratio", "1");
[EN] Sets the string value of the given console command. [RU] Устанавливает строковое значение данной консольной команды.
GetString
Convar.GetString("name")
[EN] Finds the string value of the given console command. [RU] Находит строковое значение заданной консольной команды.
SetFloat
Convar.SetFloat("cl_ragdoll_gravity", 100.00);
[EN] Sets the float value of the given console command. [RU] Устанавливает значение float для данной консольной команды.
GetFloat
Convar.GetFloat("cl_ragdoll_gravity");
[EN] Finds the float value of the given console command. [RU] Находит float-значение данной консольной команды.
SetInt
Convar.SetInt("cl_ragdoll_gravity", 100);
[EN] Sets the integer value of the given console command. [RU] Устанавливает целочисленное значение данной консольной команды.
GetInt
Convar.GetInt("cl_ragdoll_gravity")
[EN] Finds the integer value of the given console command. [RU] Находит целочисленное значение заданной консольной команды.
Last updated
Was this helpful?