-------------------------------
Spectator ESP, v1.01 by Knagg0
-------------------------------

---------------
1. Description
---------------

 This plugin allows admins/players who are spectating/dead and are in
 first person view of another player to see the enemies (and teammates)
 of that player through the walls. This may help to catch wallhackers ;)


------------
2. Features
------------

 - A red/blue/green (depending on team) line to an enemy (or a teammate) 
   The line will get wider depending on distance to target
 - A green box which shows an enemy (or a teammate) position through the walls
 - A white line from an enemie (or a teammate) to the position he is aiming at


---------------------------------
3. Install (Valve Server Plugin)
---------------------------------

 - Extract the zip to the server's mod folder (cstrike, dod, ...)
 - If you are running a mod other than CS:S, open up /addons/spectator_esp.vdf
   and change cstrike to the mod's folder
 - Then change the config file (/cfg/spectator_esp.cfg) like you want
 - After this restart your server and have fun ;)


-----------------------------
4. Install (Metamod:Source)
-----------------------------

 - Extract the zip to the server's mod folder (cstrike, dod, ...)
 - Put this line in your metaplugins.ini: addons/spectator_esp/bin/spectator_esp_mm
 - Then change the config file (/cfg/spectator_esp.cfg) like you want
 - After this restart your server and have fun ;)


--------------------
5. CVars / Commands
--------------------

 CVars:

  - esp_enable      (1)  - 1/0 = on / off
  - esp_admin_only  (1)  - 1/0 = for admins only / for all players
  - esp_spec_only   (1)  - 1/0 = for spectators only / for spectators and dead players

  - esp_interval  (0.50)  - all graphics are redrawn every x.x seconds
                          - lower it's more accurate, but uses more resources

  - esp_admin_flag  (a)  - AdminInterface-Flag / Metamod: Source Only


 Console Commands:

  - esp_admin_add  - add an admin: esp_admin_add "STEAM_0:0:1111111"
                                   esp_admin_add "192.168.0.3"

  - esp_admin_remove  - remove an admin: esp_admin_remove "STEAM_0:0:1111111"
                                         esp_admin_remove "192.168.0.3"

  - esp_admin_list  - shows all admins that have been added


 Client Commands:

  - esp_menu  - shows the esp menu

  - esp_admin_list  - same as the console command ;)


-----------
Change Log
-----------

[1.01]
- Fixed the AdminInterface Version


[1.0 RC9]
- Removed some debug code on server load


[1.0 RC8]
- Fixed lifeState values for CS:S


[1.0 RC7]
- Fixed lifeState values for DOD:S


[1.0 RC6]
- Added interface search
- Added support for Basic Admin Plugin (MM:S version only, forgot it in RC5)


[1.0 RC5]
- Rewrote the whole code and removed all CBE stuff
- No new features


[1.0 RC4]
- Added CVar (esp_admin_only)
- Added new effect/feature (AimVectors)
- Added config file (autoexec on serveractive - autosave on mapchange/shutdown)
- Fixed colors for DOD:S
- Fixed add/remove command (now you can add/remove only one admin per command)
- Changed CVar (esp to esp_enable)
- Changed the menu layout


[1.0 RC3]
- Added CVar (esp_spec_only)
- Added support for Basic Admin Plugin (Metamod:Source version only)
- Fixed teamnames for DOD:S
- I also change some functions for a small performance increase


[1.0 RC2]
 - Removed CVar (esp_admins)
 - Added ConsoleCommands (esp_admin_add, esp_admin_remove, esp_admin_list)
 - Added ClientCommand (esp_admin_list)
 - Changed the admin system... ips now working