Quote:
Originally Posted by darkbad945
Just pls tell me how to do the check for respawning zombies to not have nano please ;\
Thats all I need.
|
PHP Code:
public fw_spawn(id)
{
if (is_user_alive(id))
{
msg_shadowidx(id,SHADOW_CREATE)
nanosuit_reset(id,true)
cl_nn_zombie[id] = false
if (cl_nn_has[id] == NANO_NO && !cl_is_bot[id] && (get_pcvar_num(pcv_nn_team) == _:cs_get_user_team(id) || get_pcvar_num(pcv_nn_team) != 3) && get_pcvar_num(pcv_nn_price) <= 0)
{
if (!zp_get_user_zombie(id))
{
cl_nn_has[id] = NANO_YES
nanosuit_reset(id,true)
}
}
if (cl_is_bot[id] && get_pcvar_num(pcv_nn_price) > 0 && get_pcvar_num(pcv_nn_bot) && get_pcvar_num(pcv_nn_bot_buy))
nanosuit_buy(id)
}
return HAM_IGNORED
}
just find fw_spawn
and paste all
but add #include <zombieplague>