Нужен специальный плагин убирающий HUD сообщение когда Т убивает CT.
Но чтоб оставить когда СТ убивает Т.
Вот пример плагина убирающий полностью HUD
Code
#include <amxmodx>
#include <amxmisc>
#include <engine>
new enabled_pcvar
new gMsgDeathMsg
public plugin_init()
{
register_plugin("Death Message Disabler","2.0","GHW_Chronic")
enabled_pcvar = register_cvar("dmsgson","1")
register_event("DeathMsg","DeathMsg","a")
gMsgDeathMsg = get_user_msgid("DeathMsg")
}
public DeathMsg()
{
if(!get_pcvar_num(enabled_pcvar))
{
set_msg_block(gMsgDeathMsg,BLOCK_ONCE)
new attacker = read_data(1)
new victim = read_data(2)
if(victim!=attacker && attacker && victim)
{
new killername[32]
get_user_name(attacker,killername,31)
new victimname[32]
get_user_name(victim,victimname,31)
client_print(attacker,print_chat,"[AMXX] %L",attacker,"MSG_KILL",killername)
client_print(victim,print_chat,"[AMXX] %L",attacker,"MSG_KILLED",victimname)
}
}
}
Помогите переписать