AMX Mod Setup Guide
Half-Life server administration by OLO

# 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:

; Menu configuration file
; File location: $moddir/addons/amx/config/cvars.ini
; To use with Commands Menu plugin
; Cvars Menu:
; < cvar > < values > ... < access level >
"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:

Cvars Menu
1. mp_timelimit
2. mp_friendlyfire
3. mp_autoteambalance
4. sv_password
5. mp_limitteams
6. mp_freezetime
7. mp_buytime
8. mp_startmoney
9. More...
0. Exit
1/2
20
0
1
2
6
1.5
800

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.

Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.