22.03.2017, 20:04
Quote:
If you do, then can you explain me what is the meaning of this?
Код:
switch(armour) { if(armour <= 0) { case 0: |
ANYWAYS, what it does is this:
Код:
switch(armour) //Checks if player has armor. { if(armour <= 0) //Checks if player's armor is 0 or less than that. { case 0: //When Armor is 0, do whatever
Код:
if(armour <= 0) //Checks if player's armor is 0 or less than that. {