其實簡單的說明就是..
用
EmEditor3打開
zombie_plague40.sma 然後...
步驟一 在public plugin_init()加入...
register_event("DeathMsg","headshot","ade","3=1","5=0")
步驟二 public的地方加入以下...
public headshot()
{
new killer = read_data(1)
new victim = read_data(2)
new Killer[33]
new Victim[33]
get_user_name(killer, Killer,32)
get_user_name(victim, Victim,32)
if(g_zombie[victim])
{
remove_task(victim+TASK_SPAWN)
client_print(0, print_center, "%s is killed by headshot", Victim, Killer)
}
return PLUGIN_CONTINUE
}
完成!!
而且4.1到4.3都可以適用呀
題外話:話說被轉到mod了我都不知道