Whitelistcmd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replacing {{console command}}. This operation was performed by a bot.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{this is a|console command|name=whitelistcmd}}
{{this is a|console command|name=whitelistcmd|game=Counter-Strike: Global Offensive}}
{{code|whitelistcmd}} is a [[console command]] which executes the <code><command></code> only if it is '''whitelisted''', otherwise it does nothing.
{{code|whitelistcmd}} is a [[console command]] which executes the <code><command></code> only if it is '''whitelisted''', otherwise it does nothing.


Line 17: Line 17:
== See also ==
== See also ==
* The command {{ent|execwithwhitelist|<filename>}} executes every command inside the given file with {{ent|whitelistcmd}}.
* The command {{ent|execwithwhitelist|<filename>}} executes every command inside the given file with {{ent|whitelistcmd}}.
[[Category:Counter-Strike: Global Offensive console command]]

Latest revision as of 23:56, 1 June 2025

whitelistcmd is a console command available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. whitelistcmd is a console command which executes the <command> only if it is whitelisted, otherwise it does nothing.

Games

Counter-Strike: Global Offensive Counter-Strike: Global Offensive

Warning.pngWarning:Changes to this file require a game restart to take effect.[confirm]

Usage

whitelistcmd <command>

Files

<game>/bspconvar_whitelist.txt

See also