Hello guys
Sorry for my bad english. How do I make the client_print work only when victim is die from the right mоusе buttоn, as is known thе knifе has 2 types of attack
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("0", "1", "2")
register_event("DeathMsg", "Event_Death", "a")
}
public Event_Death(id)
{
new iAttackerID = read_data(1)
new iVictimID = read_data(2)
if(!is_user_connected(iAttackerID) || iVictimID == iAttackerID)
return PLUGIN_CONTINUE;
new nameA[33], nameV[33]
get_user_name(iAttackerID, nameA, 32)
get_user_name(iVictimID, nameV, 32)
client_print(iAttackerID, "[AMXX] You kill %s by аttасk2 mоusе", nameV)
}
and further still it would be nice to find out how to make it written only when victim is die from attacker which be in air , in jump