make a simple global to count it, something like this:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new g_kill_counter[33]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Killed, "player", "func_Ham_Killed",1)
/* *1 *2 *3
*1 - Register an entity is killed = Ham_Killed
*2 - Entity named: player
*3 - Function to forward to: Player_Killed */
}
public func_Ham_Killed(id, iAttacker, shouldgib)
{
g_kill_counter[iAttacker]++
client_print(iAttacker, 3, " Kill # %d", g_kill_counter[iAttacker])
}
__________________