1) распаковать dll в addons/metamod/plugins
2) в addons/metamod/plugins.ini прописать:
Code
win32 addons/metamod/plugins/playername_mm.dll
3) в конфиг сервера поместить настройки плагина; вот к примеру мои:
Code
// Playername Plugin
//------------------------------------------
// Enable/Disable plugin [1/0]
playername_on 1
// Plugin Disabled/Enabled with op4ctf [0/1]
playername_enabled_in_op4ctf 0
// How long time plugin is paused on new round in CS
playername_newround_pausetime 5.0
// Enable/Disable fast CS teamdetection [1/0]
playername_fast_cs_teamdetection 1
// Sets team detection style
// 100 Auto-detect mod [default]
// 1 HLDM-style teamdetection (single model)
// 2 TFC-style teamdetection (TFC and DOD)
// 3 CS-style teamdetection (compare model names)
//
playername_teamdetection 100
// Enable/Disable spy fix in tfc (don't show playername on undercover spies)
playername_tfc_spyfix 1
// Disable/Enable forced teamplay mode [0/1]
playername_forceteammode 0
// Sets if enemy names are shown or not
// 1: default with DOD
// 0: default with others
//
playername_teammates_only 0
// Sets extra info mode
// 0: Old style. Shows player name only
//
// 1: In DM old style.
// Shows Friendly name with "playername_friendly_extra_style" format
// Shows Enemy name with "playername_enemy_extra_style1" format
//
// 2: Shows DM name with "playername_dm_extra_style" format
// Shows Friendly name with "playername_friendly_extra_style" format
// Shows Enemy name with "playername_enemy_extra_style1" format
//
// 3: Shows DM name with "playername_dm_extra_style" format
// Shows Friendly name with "playername_friendly_extra_style" format
// Shows Enemy name with "playername_enemy_extra_style2" format
//
playername_extra_info 0
// These cvars set extra info formats.
//
// %name% is replaced with name of player
// %health% is replaced with health of player
// %armor% is replaced with armor of player
// \n is replaced with newline
//
playername_enemy_extra_style2 "[ENEMY] %name% (%health%/%armor%)"
playername_friendly_extra_style "(FRIEND) %name%\n(%health%/%armor%)"
playername_dm_extra_style "%name%\n(%health%/%armor%)"
// Extra enemy info format without health and armor
//
// This is used when "playername_extra_info" is 1
//
playername_enemy_extra_style1 "[ENEMY] %name%"
// Sets vertical position of HUD text
// 0: Up corner
// 1: Down corner
// -1: Center
//
playername_vertical 0.6
// Sets horizontal position of HUD text
// 0: Up corner
// 1: Down corner
// -1: Center
//
playername_horizontal -1
// Sets HUD text effect
//
// 0: Fade In/Out
// 1: Credits (Flashing)
// 2: Scan Out
//
playername_hudtext_fx 0
// Sets HUD text fade in/out times
playername_hudtext_fadein_time 0.1
playername_hudtext_fadeout_time 0.1
// Sets how long HUD text is hold on screen
playername_hudtext_hold_time 0.75
// Sets scan time (scan effect only)
playername_hudtext_fx_time 0.1
// Use one color for each team in TFC,DOD,CS [1/0]
playername_use_team_colors 1
playername_team1_color "27:102:228"
playername_team2_color "230:53:0"
playername_team3_color "200:150:0"
playername_team4_color "72:193:29"
playername_friendly_color "72:193:29"
playername_enemy_color "230:53:0"
playername_dm_color "27:102:228"