Ohh lol, forgot the check xD
Yes use this one
PHP Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
{
register_plugin("Self Detonate Check","0.0.1","SmileY");
register_event("DeathMsg","DeathMsg","a");
}
public DeathMsg()
{
new Killer = read_data(1);
new Victim = read_data(2);
if(Killer == Victim && get_user_weapon(Killer) == CSW_HEGRENADE)
{
new Name[32];
get_user_name(Victim,Name,charsmax(Name));
client_print(0,print_chat,"%s says: AL AKHBAR",Name);
}
}