PHP Code:
if(infector > 0 && (zp_get_user_zombie_class(infector) == g_zclass_ghost) && !zp_get_user_nemesis(infector))
"infector" would not be always a player id. What about if you get infected by console? Where's the "infector" player id? Some things that you need to ask you before coding something.
__________________