Add your cvar to the ServerCvar.cfg file.
Требования
SourceMod 1.8+
Colors
Переменные
Example (Edit File ServerCvar.cfg)
"ServerCvar"
{
"1"
{
"cvarname" "sm_noblock"
"cvarvalue" "1"
"message" "{GREEN} NoBlock Enabled."
"message_other_value" "{GREEN} NoBlock Disabled."
//"message_other_custom" "{DEFAULT} NoBlock Changed To ?"
//"cvar_value_custom" "1234"
//"message_value_custom" "{LIGHTGREEN} NoBlock Changed To 1234."
}
}
Команды
server_cvar 1/0 - Enable/Disable Notify
Установка
ServerCvar.smx > addons/sourcemod/plugins/
ServerCvar.cfg > addons/sourcemod/configs/
Требования
SourceMod 1.8+
Colors
Переменные
Example (Edit File ServerCvar.cfg)
"ServerCvar"
{
"1"
{
"cvarname" "sm_noblock"
"cvarvalue" "1"
"message" "{GREEN} NoBlock Enabled."
"message_other_value" "{GREEN} NoBlock Disabled."
//"message_other_custom" "{DEFAULT} NoBlock Changed To ?"
//"cvar_value_custom" "1234"
//"message_value_custom" "{LIGHTGREEN} NoBlock Changed To 1234."
}
}
Команды
server_cvar 1/0 - Enable/Disable Notify
Установка
ServerCvar.smx > addons/sourcemod/plugins/
ServerCvar.cfg > addons/sourcemod/configs/