CfgSetVar command
Command defined in core/commands/sh_cfgsetvar.lua
Registers the superadmin command /CfgSetVar, which sets a config variable, optionally for a single map, and
announces the change to everyone.
Summary
Methods
OnRun(player, arguments)shared
Sets a config variable and announces the change; arguments are the key, the value and an optional map name.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/gamemode/core/commands/sh_cfgsetvar.lua:15Sets a config variable and announces the change; arguments are the key, the value and an optional map name.
Static keys cannot be changed, and private values are shown as asterisks in the announcement. With a map name the value is set only for that map.
Parameters
- player
- arguments