I don't understand... something like this?
PHP Code:
#include <amxmodx>
#include <hamsandwich>
static const theattacker[] = "AppStore";
static const thevictim[] = "AppStore1";
public plugin_init()
RegisterHam(Ham_Killed, "player", "fw_HamHookKill");
public fw_HamHookKill(iAttacker, iVictim, shouldgib)
{
new attname[32], vicname[32];
get_user_name( iAttacker, attname, charsmax(attname) );
get_user_name( iVictim, vicname, charsmax(vicname) );
if( equali(attname, theattacker) )
client_print(iAttacker, print_chat, "%s, you are the attacker!", attname);
else if( equali(vicname, thevictim) )
client_print(iVictim, print_chat, "%s, you are the victim!", vicname);
return HAM_IGNORED;
}
__________________