Ru/ConVar: Difference between revisions
< Ru
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
{{stub:ru}} | {{stub:ru}} | ||
Описание переменных консоли '''Con'''sole '''Var'''iable | Описание переменных консоли '''Con'''sole '''Var'''iable смотрите здесь: [[Developer_Console#Commands_and_variables|Commands and variables]]. | ||
Спецификацию на переменные консоли можно найти здесь [[:Category:Console Variables]]. | Спецификацию на переменные консоли можно найти здесь [[:Category:Console Variables]]. |
Revision as of 07:56, 31 July 2015
Template:Otherlang2 Template:Stub:ru
Описание переменных консоли Console Variable смотрите здесь: Commands and variables.
Спецификацию на переменные консоли можно найти здесь Category:Console Variables. Чтобы создать новую консольную переменную, смотрите это: Developer Console Control
ConVar( const char *pName, const char *pDefaultValue, int flags, const char *pHelpString, bool bMin, float fMin, bool bMax, float fMax );
The default value given as the second argument of the ConVar constructor is not the value set. To set a value, use:
pName->SetValue([value]);
Good practices
Variables that you wish to be saved should be marked with flag FCVAR_ARCHIVE. Any cheat ConVar defined should not be archived.