.-++++++++++++++++++++++++++++++++++++++++++MetaMod Plugin++
| Filename : playername_mm
| Version  : 2.0
| Date     : 3.12.2001 (dd.mm.yy)
| Author   : Jussi Kivilinna
| E-mail   : hullu@hullu.cjb.net
| Web Site : http://www.hullu.cjb.net/
-++++++++++++++++++++++++++++++++++++++++++--

DESCRIPTION
^^^^^^^^^^^
Shows name of targeted player. In teamplay shows text with different color for enemies and teammates.

[New in 2.0]
 * Team specific colors
 * Shows if targeted player is your enemy or friendly
 * Shows health/armor of teammates
 * Customable extra-info text
 * Shows names of enemies in CS/TFC as default
 * [bugfix] Fixed team detection for 'Arctic Avenger'-model in CS

[New in 1.5a]
 * [bugfix] Fixed bug that caused error message every frame

[New in 1.5]
 * Shows only names of teammates in CS/TFC/DOD and "playername_teammates_only"-cvar to change this

[New in 1.4]
 * Customable colors (Friendly/Enemy/Deathmatch -colors)
 * "playername_dmcolor"-cvar removed
 * MOD-Detection for DOD

[New in 1.3]
 * playername_vertical and playername_horizontal cvars for changing playername placement

[New in 1.2a]
 * Opfor CTF detection works now right way with all maps.

[New in 1.2]
 * [bugfix] Fixed bug that caused any server to crash after some time.
 * MOD-Detection for Phineas-Bot

[New in 1.1]
 * MOD-Detection for normal Half-Life, DMC, CS, TFC, OpFor
 * Team detection for CS and OpFor-CTF


COMMANDS
^^^^^^^^
 * playername_on [0/1]
          0:    Plugin off
          1:    Plugin on (default:)

 * playername_teammates_only [0/1]
          0:    Show friendly and enemy names in teamplay. (default in all expect in DOD)
          1:    Show only friendly names in teamplay. (default in DOD)

 * playername_vertical:
          0 - 1.0       top to bottom (default: 0.6)
          -1            centers

 * playername_horizontal:
          0 - 1.0       left to right
          -1            centers (default: -1)

 * playername_use_team_colors [0/1]:
          0:    Old style
          1:    Shows name of target with color of target's team (default)

 * playername_extra_info [0/1/2/3]:
          0:    Old style
          1:    Shows if target enemy or friendly and health/armor for friendly. (default)
          2:    Shows health/armor of target in deathmatch.
          3:    Shows health/armor of ENEMY target.

 * playername_friendly_extra_style  --default: "(Friendly) %s (%d/%d)"
 * playername_enemy_extra_style1    --default: "(Enemy) %s"
 * playername_enemy_extra_style2    --default: "(Enemy) %s (%d/%d)"
 * playername_dm_extra_style        --default: "%s (%d/%d)"

        You can set how target name is shown with these cvars.

        example: "(Friendly) %s (%d/%d)"

        "%s" is replaced with name of target.
        First "%d" with health.
        Last "%d" with armor.


COLORS
^^^^^^
Just set colors in RGB.. By setting values to 0,0,0 plugin changes values to defaults.

For changing colors for TEAM1(blue team/CT) use:
playername_team1_color_r
playername_team1_color_g
playername_team1_color_b

For changing colors for TEAM2(red team/T) use:
playername_team2_color_r
playername_team2_color_g
playername_team2_color_b

For changing colors for TEAM3(yellow team) use:
playername_team3_color_r
playername_team3_color_g
playername_team3_color_b

For changing colors for TEAM4(green team) use:
playername_team4_color_r
playername_team4_color_g
playername_team4_color_b

For changing friendly target colors use:
playername_friendly_color_r
playername_friendly_color_g
playername_friendly_color_b

For changing enemy target colors use:
playername_enemy_color_r
playername_enemy_color_g
playername_enemy_color_b

For changing deathmatch target colors use:
playername_dm_color_r
playername_dm_color_g
playername_dm_color_b


INSTALLION
^^^^^^^^^^
You need newest Metamod or Adminmod. (www.metamod.org / www.adminmod.org)
Extract playername_mm.dll and playername_mm_i386.so to "c:\life\moddir\dlls"-folder and add following two lines to "c:\life\moddir\metamod.ini":

win32 dlls/playername_mm.dll
linux dlls/playername_mm_i386.so

If you reinstall Adminmod you have to add these lines again!