Revision Difference
Enums/FCVAR#514544
<cat>enum</cat>⤶
<enumeration>⤶
<description>Enumerations used by <page>concommand.Add</page>, <page>Global.CreateClientConVar</page> and <page>Global.CreateConVar</page>.</description>⤶
<fields>⤶
{{EnumField|FCVAR_ARCHIVE|128|Save the <page>ConVar</page> value into config.cfg⤶
⤶
Reported as "a" by `cvarlist`, except Lua <page>ConVar</page>s⤶
</fields>⤶
⤶
</enumeration>⤶
⤶
{{EnumField|FCVAR_ARCHIVE_XBOX|16777216|Save the <page>ConVar</page> value into config.cfg on XBox}}{{EnumField|FCVAR_CHEAT|16384|Requires sv_cheats to be enabled to change the <page>ConVar</page> or run the command⤶
⤶
Reported as "cheat" by `cvarlist`⤶
}}{{EnumField|FCVAR_CLIENTCMD_CAN_EXECUTE|1073741824|IVEngineClient::ClientCmd is allowed to execute this command⤶
⤶
Reported as "clientcmd_can_execute" by `cvarlist`⤶
}}{{EnumField|FCVAR_CLIENTDLL|8|<page>ConVar</page> is defined by the client DLL.⤶
⤶
This flag is set automatically⤶
⤶
Reported as "cl" by `cvarlist`⤶
}}{{EnumField|FCVAR_DEMO|65536|Force the <page>ConVar</page> to be recorded by demo recordings.⤶
⤶
Reported as "demo" by `cvarlist`⤶
}}{{EnumField|FCVAR_DONTRECORD|131072|Opposite of FCVAR_DEMO, ensures the <page>ConVar</page> is not recorded in demos⤶
⤶
Reported as "norecord" by `cvarlist`⤶
}}{{EnumField|FCVAR_GAMEDLL|4|<page>ConVar</page> is defined by the game DLL.⤶
⤶
This flag is set automatically⤶
⤶
Reported as "sv" by `cvarlist`⤶
}}{{EnumField|FCVAR_LUA_CLIENT|262144|Set automatically on all ConVars and console commands created by the client Lua state.⤶
⤶
Reported as "lua_client" by `cvarlist`⤶
}}{{EnumField|FCVAR_LUA_SERVER|524288|Set automatically on all ConVars and console commands created by the server Lua state.⤶
⤶
Reported as "lua_server" by `cvarlist`⤶
}}{{EnumField|FCVAR_NEVER_AS_STRING|4096|Tells the engine to never print this variable as a string.⤶
⤶
Reported as "numeric" by `cvarlist`⤶
}}{{EnumField|FCVAR_NONE|0|No flags}}{{EnumField|FCVAR_NOTIFY|256|For serverside <page>ConVar</page>s, notifies all players with blue chat text when the value gets changed⤶
⤶
Reported as "nf" by `cvarlist`⤶
}}{{EnumField|FCVAR_NOT_CONNECTED|4194304|Makes the <page>ConVar</page> not changeable while connected to a server or in singleplayer}}{{EnumField|FCVAR_PRINTABLEONLY|1024|Forces the <page>ConVar</page> to only have printable characters ( No control characters )⤶
⤶
Reported as "print" by `cvarlist`⤶
}}{{EnumField|FCVAR_PROTECTED|32|Makes the <page>ConVar</page> value hidden from all clients ( For example sv_password )⤶
⤶
Reported as "prot" by `cvarlist`⤶
}}{{EnumField|FCVAR_REPLICATED|8192|For serverside <page>ConVar</page>s, it will send its value to all clients. The <page>ConVar</page> with the same name must also exist on the client!⤶
⤶
Reported as "rep" by `cvarlist`⤶
}}{{EnumField|FCVAR_SERVER_CANNOT_QUERY|536870912|Prevents the server from querying value of this <page>ConVar</page>}}{{EnumField|FCVAR_SERVER_CAN_EXECUTE|268435456|The server is allowed to execute this command on clients.⤶
⤶
Reported as "server_can_execute" by `cvarlist`⤶
}}{{EnumField|FCVAR_SPONLY|64|Executing the command or changing the <page>ConVar</page> is only allowed in singleplayer⤶
⤶
Reported as "sp" by `cvarlist`⤶
}}{{EnumField|FCVAR_UNLOGGED|2048|Don't log the <page>ConVar</page> changes to console/log files/users⤶
⤶
Reported as "log" by `cvarlist`⤶
}}{{EnumField|FCVAR_UNREGISTERED|1|If this is set, the convar will become anonymous and won't show up in the 'find' results.}}{{EnumField|FCVAR_USERINFO|512|For clientside commands, sends the value to the server⤶
⤶
Reported as "user" by `cvarlist`⤶
}}⤶
}}