Raised This Month: $ Target: $400
 0% 

ZP+Crysis problem with zp_deathmatch 2 and the nanosuit.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-23-2011 , 07:17   Re: ZP+Crysis problem with zp_deathmatch 2 and the nanosuit.
Reply With Quote #4

Quote:
Originally Posted by darkbad945 View Post
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) > && 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>
.Dare Devil. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode