#include <amxmodx>
new const FLAG_GIRL = ADMIN_LEVEL_G // Установите тут флаг девушки
public plugin_init()
{
register_plugin("Hostage Kill Informer", "1.0", "Karaulov")
register_event("TextMsg", "host_killed", "b", "2&#Killed_Hostage")
}
public host_killed(attacker)
{
if (is_user_connected(attacker))
{
new tmpname[32]
get_user_name(attacker, tmpname, charsmax(tmpname))
if (get_user_flags(attacker) & FLAG_GIRL)
client_print_color(0,attacker,"^4[HOSTAGE HELPER] ^3%s^1 УБИЛА ЗАЛОЖНИКА",tmpname)
else
client_print_color(0,attacker,"^4[HOSTAGE HELPER] ^1 ИГРОК ^3%s^1 УБИЛ ЗАЛОЖНИКА",tmpname)
log_to_file( "hostage_killers.log", "host_killed by %s", tmpname )
}
}