Для начал вам нужно скачать последний hlds отсюда - в большинстве случаев стандартный работает глючно. После того, как скачали сервер-распаковываем его в папку и качаем этот файл , amxmodx base и amxmodx cs addon, и вот этот. Это все, что вам надо для запуска функционального, ничем не нагруженного сервера. Дальнейшее расширение вы можете проводить сами, в основном это-плагины для Amx Mod X. Чтоже, посмотрим что мы скачали: hlds-голый сервер cs, swds.dll-патч для nosteam версии, кладется в корневой каталог сервера, amxmodx base- ядро системы управления сервером, amxmodx cs addon-аддон для для amxmodx core, добавляет функциональность для игры cs, MetaMod-аддон для КС, позволяющий запускать другие аддоны, ака AMX MOD X. То есть у нас такой порядок установки:
  1. Распаковываем hlds в каталог hlds, кладем в корневой каталог swds.dll, соглашаясь на замену.
  2. Кладем папку MetaMod в папку /cstrike/addons/, на этот же уровень кладем папки amxmodx base, потом amxmodx cs addon, соглашаясь на замены.
  3. Открываем папку metamod, создаем в ней файл plugins.ini с таким содержимым:
win32 addons/amxmodx/dlls/amxmodx_mm.dll
Открываем папку cstrike, в файле liblist.gam изменяем
все строчки, начинающиеся с gamedll на
gamedll "addons\metamod\dlls\metamod.dll"
gamedll_linux "dlls/cs_i386.so"
  1. Открываем файл по этому адресу: hlds\cstrike\addons\amxmodx\configs\amxx.cfg и заменяем всё содержимое на
это
AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
Default access for all non admin players (see users.ini for access details)

Default value: "z"
amx_default_access "z"
Name of setinfo which should store a password on a client (you should change this)
Note: Always prefix the field with an underscore (aka: "_")
(Example: setinfo _pw "password")

Default value: "_pw"
amx_password_field "_pw"
Mode of logging to a server
0 - disable logging, players won't be checked (and access won't be set)
1 - normal mode which obey flags set in accounts
2 - kick all players not on list

Default value: 1
amx_mode 1
Show admins activity
0 - disabled
1 - show without admin name
2 - show with name

Default value: 2
amx_show_activity 1
Frequency in seconds and text of scrolling message

Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Добро пожаловать на %hostname%" 300
Center typed colored messages (last parameter is a color in RRRGGGBBB format)

Default values: "Welcome to %hostname%" "000255100"
"This server is using AMX ModX\nVisit www.amxmodx.org" "000100255"
amx_imessage "Добро пожаловать на %hostname%" "000255100"
Frequency in seconds of colored messages

Default value: 180
amx_freq_imessage 180
Ban times for the main ban menu (amx_banmenu)
Use 0 for permanent ban
Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
Slap damage amounts for the main slap menu (amx_slapmenu)
Slay is automaticall inserted as the first option
Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
Set in seconds how fast players can chat (chat-flood protection)

Default value: 0.75
amx_flood_time 0.75
Amount of slots to reserve.

Default value: 0
amx_reservation 0
If you set this to 1, you can hide slots on your server.
If server "full" of public slots and slots hidden, you must manually connect with connect console command

Default value: 0
amx_hideslots 0
Displaying of time remaining
a - display white text on bottom
b - use voice
c - don't add "remaining" (only in voice)
d - don't add "hours/minutes/seconds" (only in voice)
e - show/speak if current time is less than this set in parameter

Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.

Default value: 1
amx_time_voice 1
Minimum delay in seconds between two voting sessions

Default value: 10
amx_vote_delay 10
How long voting session goes on

Default value: 10
amx_vote_time 10
Display who votes for what option, set to 0 to disable, 1 to enable.

Default value: 1
amx_vote_answers 1
Some ratios for voting success
Default value: 0.40
amx_votekick_ratio 0.40
Default value: 0.40
amx_voteban_ratio 0.40
Default value: 0.40
amx_votemap_ratio 0.40
Default value: 0.02
amx_vote_ratio 0.02
Max. time to which map can be extended

Default value: 90
amx_extendmap_max 90
Step for each extending

Default value: 15
amx_extendmap_step 15
If you set this to 0, clients cannot chose their language, instead they use
whatever language the server is configured to use.

Default value: 1
amx_client_languages 0
Plugin Debug mode
0 - No debugging (garbage line numbers)
1 - Plugins with "debug" option in plugins.ini are put into debug mode
2 - All plugins are put in debug mode
Note - debug mode will affect JIT performance

Default value: 1
amx_debug 1
Plugin MultiLingual Debug
To debug a language put its 2 letter code between quotes ("en", "de", etc)
"" means disabled

Default value: ""
amx_mldebug ""

Beginning of Counter-Strike package specific configurations.
Rank mode
0 - by nick
1 - by authid
2 - by ip

Default value: 1
csstats_rank 1
Max size of the stats file

Default value: 3500
csstats_maxsize 3500
Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.

Default value: 0
csstats_rankbots 0
Duration of HUD-statistics

Default value: 12.0
amx_statsx_duration 12.0
HUD-statistics display limit relative round freeze end
Negative time will clear the HUD-statstics before the round freeze time has ended

Default value: -2.0
amx_statsx_freeze -2.0
В той же папке, всё содержимое в файле modules.ini заменяем на
это
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mysql
;sqlite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
fun
engine
fakemeta
geoip
;sockets
regex
;nvault
cstrike
csx
;hamsandwich
в файле plugins.ini на
это
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx; admin base (required for any admin-related)
;admin_sql.amxx; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx; basic admin console commands
adminhelp.amxx; help command for admin console commands
adminslots.amxx; slot reservation
multilingual.amxx; Multi-Lingual management
; Menus
menufront.amxx; front-end for admin menus
cmdmenu.amxx; command menu (speech, settings)
plmenu.amxx; players menu (kick, ban, client cmds.)
telemenu.amxx; teleport menu (Fun Module required!)
mapsmenu.amxx; maps menu (vote, changelevel)
pluginmenu.amxx; Menus for commands/cvars organized by plugin
; Chat / Messages
adminchat.amxx; console chat commands
antiflood.amxx; prevent clients from chat-flooding the server
scrollmsg.amxx; displays a scrolling message
imessage.amxx; displays information messages
adminvote.amxx; vote commands
; Map related
nextmap.amxx; displays next map in mapcycle
mapchooser.amxx; allows to vote for next map
timeleft.amxx; displays time left on map
; Configuration
pausecfg.amxx; allows to pause and unpause some plugins
statscfg.amxx; allows to manage stats plugins via menu and commands
; Counter-Strike
restmenu.amxx; restrict weapons menu
statsx.amxx; stats on death or round end (CSX Module required!)
miscstats.amxx; bunch of events announcement for Counter-Strike
;stats_logging.amxx; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx; AMX Mod backwards compatibility layer
в файле users.ini, если вы хотите быть админом только на своем компе, то вставляйте
это
; Users configuration file
; File location: $moddir/addons/amxmodx/configs/users.ini
; Line starting with ; is a comment
; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)
; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)
; k - name or tag is case sensitive. eg: if you set it so the name "Ham"
; is protected and case sensitive (flags "k" only), then anybody
; can use the names "haM", "HAM", "ham", etc, but not "Ham"
; Password:
; Add to your autoexec.cfg: setinfo _pw "<password>"
; Change _pw to the value of amx_password_field
; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>
; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"
"127.0.0.1" "123" "abcdefghijklmnopqrstu" "de"
<<, если нет-вместо 127.0.0.1-вставьте ваш ip адрес. Если вы оставили 127.0.0.1-заходите на ваш сервер, вводя в консоли connect 127.0.0.1, если нет-connect "ip сервера" или же ищите его в списке серверов. Если после захода на сервер, при вводе в консоли комманды amxmodmenu пишет access denied, то в консоли сервера пропишите amx_reloadadmins. Для удобства управления админкой рекомендую прописать это bind - amxmodmenu , при нажатии на - будет открываться меню админки. Насчет user.ini-в нем есть подробное ридми, создать свои параметры юзеров админки вам не составит труда при элементарном знании английского.
Также в файле amxx.cfg вы можете менять разные настройки самостоятельно, но, убедитесь в том, что вы поняли зачем та или иная переменная! А в файле modules.ini (...\cstrike\addons\amxmodx\configs\) возможно включать и выключать modules (чтобы отключить надо в начале строк поставить символ ";" )
Возможности команды amxmodmenu:
Это одна из основных комманд, вводимых в консоле, как для обычных админов, так и для главного админа.
Обычные админы могут с помощью неё намного проще слэить, слэпать, кикать и банить игроков. А также проводить голосования, изменять настройки сервера, чатить и т.д.
Каждый пункт меню нумеруется. Цифры 9 и 0 зарезервированны под комманды "Далее" и "Назад" соответственно, а также "0", если вы находитесь на первой странице меню - "Выход".
С помощью команды amx_statscfgmenu можно настроить статистику.
Для включения ведения статистики и других возможностей связанных с ней необходимо включить все необходимые вам компоненты, делаеться это при помощи нажатия цифр соответствующих нужным вам коммандам. On - включена, Off - отключена.
А для того, чтобы клиенты вашего сервера могли просматривать свой ранк, таблицу лучших 15 или статистики оружия необходимо сначала включить возможности команд - Say /hp, Say /rank, Say /top15, Say /me, Say /statsme, Say /stats. Затем клиенты, используя комманду "say" для просмотра статистики должны писатьт: "say" "/rank"; "say" "/top15", "say" "/statsme", "say" "/stats", "say" "/hp".
Напоследок опишу редкую проблему: если же при каждом заходе на сервер вам приходится прописывать amx_reloadadmins, то вам надо выполнить следующие действия:
  1. Скачиваем вот эту программу.
  2. С ее помощью открываем файл cstrike/addons/amxmodx/scripting/admin.sma, заменяем вот это:
public client_authorized(id)
return get_pcvar_num(amx_mode) ? accessUser(id) : PLUGIN_CONTINUE

public client_putinserver(id)
{
if (!is_dedicated_server() && id == 1)
return get_pcvar_num(amx_mode) ? accessUser(id) : PLUGIN_CONTINUE

return PLUGIN_CONTINUE
}
на
public client_putinserver(id)
return get_pcvar_num(amx_mode) ? accessUser(id) : PLUGIN_CONTINUE

//public client_putinserver(id)
//{
//if (!is_dedicated_server() && id == 1)
//return get_pcvar_num(amx_mode) ? accessUser(id) : PLUGIN_CONTINUE
//
//return PLUGIN_CONTINUE
//}
Сохраняем..
  1. В папке scripting перетащите файл admin.sma на compile.exe, зайдите в папку compiled, скопируйте себе получившийся плагин admin.amxx в папку /amxmodx/plugins с заменой.
  2. Всё!
А теперь для любителей русского языка русификатор для amx mod x и
>> инструкция по установке
Русификатор amxmodx(папку lang) кидаем в папку:
\hlds\cstrike\addons\amxmodx\data
, заходим, набираем amxmodmenu, 1 раз жмем на цифру 8 - там будет Stat Language, жмем и выбираем
Русский
Русский
. Также заходим в
amxmodx/configs/amx.cfg
, ищем там строчку
amx_client_languages
: вместо 0 поставить 1 (0-англ., 1-русс.)
Перезапускаем сервер и все работает.
На этом все, надеюсь статья вам пригодилась.
Выражаю благодарность за помощь в написании статьи RazArt'у
`
ОЖИДАНИЕ РЕКЛАМЫ...