|
发表于 2009-3-23 22:31:33
|
显示全部楼层
来自 中国–广西–百色
#include <amxmodx>
new const nosxe[] = "[NO-sXe-I]"
public plugin_init(){
register_plugin("sXekill","1.0", "A.MI")
register_event("DeathMsg", "death", "a")
}
public death(){
new killer = read_data(1)
if(is_user_connected(killer)){
new name[32]
get_user_name(killer,name,31)
if( contain( name, nosxe) != -1)
return PLUGIN_CONTINUE
cs_set_user_money(killer, cs_get_user_money(killer)+1000)
client_print(0,print_chat,"* %s【...阳光明媚,鸟语花香...】",name)
}
return PLUGIN_CONTINUE
}
|
|