其实简单的说明就是..
用
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了我都不知道