================================================================================
AMX Mod Plugin
http://amxmodx.org
--------------------------------------------------------------------------------
Name: HeadShot-Master-Plugin Version 0.5
Autor: Leichenklaus <leichenklaus@almis.de>
--------------------------------------------------------------------------------

(c) Copyright 2005, Leichenklaus 

--------------------------------------------------------------------------------

[Description:]

Stats plugin for headshots
Headshots will be saved using steamid (or by name @ LAN - set hs_id "1" at server.cfg)
Leader is called HeadShot Master
say "/master", ".master", "/hs" oder ".hs" - shows the current HeadShot Master 
say "/myhs", ".myhs" - shows your current rank on the HeadShot Master list and the headshots you made
Headshot made by HeadShot Master will play the HeadShot-Master-Sound
Other players will get the well known "headshot"
The list runs from monday 12.00 AM to sunday 11.59 PM (default) but at least until the current map ends
By setting the variable hs_reset u can change reset point to daily or monthly
Then the list will be deleted and a new round will be started
Of course TKs do not count 
The kills only count for HeadShot-Master if the players on the server are more as "minplayers" (default = 3)


--------------------------------------------------------------------------------

[Included files:]

addons/amxmodx/scripting/hs_master.sma     <<<<< Source code of the plugins
addons/amxmodx/plugins/hs_master.amxx      <<<<< compiled plugin using AMXMODX 1.5
addons/amxmodx/data/lang/hs_master.txt     <<<<< language file for multilanguage support

sound/misc/hsmaster.wav      <<<<< Sound-file containing the HeadShot-Master sound
sound/misc/headshot.wav      <<<<< Sound-file containg the default headshot sound

hs_master.php      <<<<< PHP-script to show the stats on a website using ftp to get the data from the gameserver
hs_master_sql.php  <<<<< PHP-script to show the stats on a website using MySQL if you have "#define USING_SQL" enabled

readme.txt     <<<<< This file

--------------------------------------------------------------------------------

[Installation:]

unzip content (except php-file) to cstrike dir on ur game server using the path names of the zip-file

add a line to addons/amxmodx/configs/plugins.ini:

hs_master.amxx    

enable csx module in your modules.ini

; -----------------------------------------------------
; CSX - adds functionality for CS statistics and events
; -----------------------------------------------------
csx_amxx_i386.so
csx_amxx.dll
csx_amxx_amd64.so



if you want to use MySQL Version of the plugin you have to uncomment the line
   //#define USING_SQL 
in the sma-file by deleting the //
Also you must fill in your access data for your MySQL database in the following lines:

   register_cvar("amx_sql_host","127.0.0.1")
   register_cvar("amx_sql_user","root")
   register_cvar("amx_sql_pass","")
   register_cvar("amx_sql_db","amx")
   
recompile the hs_master.sma and enjoy :D
   
be sure you have enabled the mysql_amxx_xxx.so module in the modules.ini

--------------------------------------------------------------------------------

[<<<<<IMPORTANT>>>>>]

Deactivate all additional plugins which uses the headshot-event
If you use miscstats.amxx just disable HeadShot and HeadShotSound

--------------------------------------------------------------------------------

[HeadShot-Master-Stats on your Website]

You can use the file hs_master.php to show up the stats and the HeadShot-Master of the week on your clanpage
If you use the MySQL-Version of the plugin, you must use hs_master_sql.php

You only have to fill in your gameservers FTP login and the access data for your MySQL database or only the MySQL access if you use the MySQL-Version of the plugin


--------------------------------------------------------------------------------

Question for the HeadShot-Master-Plugin to leichenklaus@almis.de or #leichenklaus @ Quakenet please 
The gameserver using HeadShot-Master-Plugin <<<<<<< 82.98.216.10:27015 #thu-clan >>> [-Hanau BattleZone-]
Stats for the plugin @ BattleZone you find at http://thu.almis.de/server/hs_master.php
IRC #thu-clan