#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#include <fun>
#include <colorchat>
#define PLUGIN "New Plugin"
#define AUTHOR "Unknown"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "kill", "a")
}
public kill(id)
{
new name[33];
get_user_name(id, name, charsmax(name));
new killer = get_user_frags(id)
{
if(killer == 1)
{
set_dhudmessage(255, 212, 127, -1.0, -1.0, 0, 6.0, 12.0)
show_dhudmessage(id, "1. KILL!!!")
ColorChat(id, RED, "1. KILL!!!")
}
if(killer == 2)
{
set_dhudmessage(255, 212, 127, -1.0, -1.0, 0, 6.0, 12.0)
show_dhudmessage(id, "2. KILL!!!")
ColorChat(id, RED, "2. KILL!!!")
}
if(killer == 3)
{
set_dhudmessage(255, 212, 127, -1.0, -1.0, 0, 6.0, 12.0)
show_dhudmessage(id, "3. KILL!!!")
ColorChat(id, RED, "3. KILL!!!")
}
if(killer == 4)
{
set_dhudmessage(255, 212, 127, -1.0, -1.0, 0, 6.0, 12.0)
show_dhudmessage(id, "4. KILL!!!")
ColorChat(id, RED, "4. KILL!!!")
}
if(killer == 5)
{
set_dhudmessage(255, 212, 127, -1.0, -1.0, 0, 6.0, 12.0)
show_dhudmessage(0, "%s A SZERVER KIRRALYAA!!!", name)
ColorChat(0, RED, "%s TE VAGY A LEGJOBB!!!", name)
}
}
}