|
// when you die by falling somewhere off
public DeathMsg() {
new Arg1[64]
read_logargv(0,Arg1,63)
new Name[32]
parse_loguser(Arg1,Name,31)
client_cmd(0,"spk misc/witch")
set_hudmessage( 255, 100, 100, -1.0, 0.25, 1, 6.0, 6.0, 0.5, 0.15, 1);
show_hudmessage(0,"秋海岸CS服务器提示:哈哈哈哈!%s跌死了,大家鼓掌!",Name)
return PLUGIN_HANDLED
}
// when someone knived
public knife_kill(){
new killer_id = read_data(1)
new victim_id = read_data(2)
new killer_name[32], victim_name[32]
get_user_name(killer_id,killer_name,32)
get_user_name(victim_id,victim_name,32)
set_hudmessage(255, 242, 0, -0.15, 0.30, 0, 0.1, 6.0, 0.15, 0.15, 1)
show_hudmessage(0,"嘻嘻嘻嘻!%s用刀宰了%s!!!^n秋海岸CS服务器特给予$600奖励,望再接再厉" ,killer_name ,victim_name)
set_user_money(killer_id,get_user_money(killer_id)+600)
client_cmd(0,"spk misc/WickedLaugh.wav")
//return PLUGIN_HANDLED
}
|
|