|
//爆头奖励
if(headshot){
new p_name[32]
get_user_name(Killer,p_name,31)
format(p_message,127,"^x01【^x03雪夜爆頭獎勵^x01】^x03%s^x04* 获得 *^x03 888^x04 金币",p_name)
color_message(p_message)
cs_set_user_money(Killer,cs_get_user_money(Killer) + 888)
}
//刀杀奖励
if(strcmp(p_weapon,"knife")==0){
new p_name[32]
get_user_name(Killer,p_name,31)
format(p_message,127,"^x01【^x03雪夜刀殺獎勵^x01】^x03%s^x01匕首杀敌,获得^x04 *500* 金币",p_name)
color_message(p_message)
cs_set_user_money(Killer,cs_get_user_money(Killer) + 500)
}
//雷杀奖励
if(strcmp(p_weapon,"grenade")==0){
new p_name[32]
get_user_name(Killer,p_name,31)
format(p_message,127,"^x01【^x03雪夜雷殺獎勵^x01】^x03%s^x01手雷杀敌,获得^x04 *1000* 金币",p_name)
client_cmd(0,"spk misc/xywoho")
color_message(p_message)
cs_set_user_money(Killer,cs_get_user_money(Killer) + 1000)
|
|