
pvz (Player Jonas killed hostage)
-- 2015 Lap 24 13:06 --
kazka panasaus radau gal kam pravers
Code: Select all
#include <amxmodx> new HostageCount[33] new HostageKiller[33] public plugin_init() { register_plugin("Stop Killing The %&¤#ing Hostages","1.0","AssKicR") register_event("TextMsg","host_killed","b","2&#Killed_Hostage") register_event("TextMsg","host_injured","b","2&#Injured_Hostage") new mapname[4] get_mapname(mapname,3) if (!equali(mapname,"cs_",3)) pause("a") return PLUGIN_CONTINUE } public client_connect(id){ HostageCount[id]=0 HostageKiller[id]=0 } public client_disconnect(id){ HostageCount[id]=0 HostageKiller[id]=0 } public host_killed(id){ new name[32] get_user_name(id,name,31) set_hudmessage(225, 25, 25, -1.0, 0.32, 0, 2.0, 9.0, 0.8, 0.8, 2) // Vote ban or kick warning show_hudmessage(0,"God damned!!^n A hostage was killed by %s",name) client_print(0,print_chat,"[AMX] God damned!! A hostage was killed by %s",name) }