cvars.ini - Cvars menu
The cvars.ini file in your addons\amx\config folder contains a list of variables that may be run from the Cvars Menu. This is enabled by using the amx_cvarmenu command. This is what the default cvars.ini looks like:
; File location: $moddir/addons/amx/config/cvars.ini
; To use with Commands Menu plugin
; Cvars Menu:
; <> <> ... <>
"mp_timelimit" "0" "30" "45" "u"
"mp_friendlyfire" "0" "1" "u"
"mp_autoteambalance" "0" "1" "2" "u"
"sv_password" "" roxor "clanwar" "u"
"mp_limitteams" "0" "1" "2" "u"
"mp_freezetime" 0 "6" "u"
"mp_buytime" "1" "0.5" "u"
"mp_startmoney" "800" "1800" "3600" "u"
"mp_c4timer" "35" "45" "15" "u"
"mp_forcechasecam" "0" "1" "2" "u"
"pausable" 0 1 "u"
"sv_minrate" "2000" "3000" "u"
"sv_maxrate" "7000" "6500" "u"
"allow_spectators" "0" "1" "u"
"sv_voiceenable" "0" "1" "u"
"mp_logmessages" "0" "1" "u"
(Note that a semi-colon ; was inserted at the beginning of some lines. This prevents them from being used.)
Adding commands to the menu for use should be entered as other commands are shown in this file.
This menu is accessed in the game by typing amx_cvarmenu in the console. Or by binding a key to that command. The menu will show up on the left side of your screen while playing. It looks like this:
Just select the number representing the cvar (variable) you want to change and when you press 0. to exit the change is made. For menu items that have multiple options, continue to press the number for that cvar until you see the setting you want, then 0. to exit. Any changes made to the cvars.ini file will show up after the next map change or server restart.
No comments:
Post a Comment