Raised This Month: $ Target: $400
 0% 

Solved stop losing hp of victim?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 07-28-2017 , 10:48   Re: stop losing hp of victim?
Reply With Quote #9

You must modify zombie plugin and check if user has armor before infect_user() function gets called.
something like this:

PHP Code:
new iArmor get_user_armor(victim);
if(
iArmor  35)
{
   
set_user_armor(victimiArmor 35)
}else{

   
infect_user(victim)

siriusmd99 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 22:53.


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