#include <amxmodx> #include <fun> #include <zombieplague>
zp_get_user_zombie_class(id) == g_zclass_light
下面是引用 i-c0112 於 2011-09-26 18:56 發表的 : 應該還少了這3個複製程式 #include <amxmodx> #include <fun> #include <zombieplague> 還有這條件應該也是多餘的複製程式 zp_get_user_zombie_class(id) == g_zclass_light 感覺就像是直接複製別人sma的內容而成的
下面是引用 fouury 於 2011-09-26 21:28 發表的 : 只用maxhealth還是會有血量誤差的 簡單的方法是設個變數利用zp的forward在被感染為殭屍時用get_user_health取得血量再讓 取得的血量 = 變數 把maxhealth換成變數即可不過這只用於純感染0.0 如果用甚麼怒氣指數或重生等等的是絕對不行的= =""--對了.你有沒有考慮到被攻擊也不能回血的設定??用takedamage來判斷傷害較簡單0.0還有複製程式 #include <amxmodx> #include <fun> #include <zombieplague> 插件中少了讀取這三個inc就無法轉檔= =你應該趕快將這些內容補充到你的教學才是....
下面是引用 ryoson 於 2011-09-26 22:44 發表的 : #include <amxmodx> #include <zombieplague> ^ 這2個不是一定有的嗎-0- 其實我打算用這方法加進可以進化的殭屍