21.06.2012, 16:58
I will Explain :
This code will work whene i punch someone , so , whene i punch a player , if the player has an armour , then do for him : HISARMOUR-10 , else , causing damage of health(-5HP) + infection , the infection system make the player loose -6HP each 2 seconds ,
Whene the Zombie want to punch the player again , i don't want to start an other Timer ! i have already one started , so this is why i made a variable cheking if the player has been bitten before , then making him losing only -5(the last else)
The problem : is whene i bit all player's armour , & want to bit his health , a New ARMOUR is given to the bitten player (i don't know why).
NOTE : this system is working if the player doesn't have an armour , else it .....
I Really need your help Guys , any help..
This code will work whene i punch someone , so , whene i punch a player , if the player has an armour , then do for him : HISARMOUR-10 , else , causing damage of health(-5HP) + infection , the infection system make the player loose -6HP each 2 seconds ,
Whene the Zombie want to punch the player again , i don't want to start an other Timer ! i have already one started , so this is why i made a variable cheking if the player has been bitten before , then making him losing only -5(the last else)
The problem : is whene i bit all player's armour , & want to bit his health , a New ARMOUR is given to the bitten player (i don't know why).
NOTE : this system is working if the player doesn't have an armour , else it .....
I Really need your help Guys , any help..