Armor Problem
#5

Change your script to
pawn Код:
if(armour > 0.0)
{
    if(armour > 50.0) SetPlayerArmour(playerid,armour-50.0);
    else SetPlayerArmour(playerid, 0);
}
As you're setting his armor to a negative, which sets armor to 100.
Reply


Messages In This Thread
Armor Problem - by Blackazur - 15.12.2012, 20:38
Re: Armor Problem - by willsuckformoney - 15.12.2012, 20:42
AW: Armor Problem - by Blackazur - 15.12.2012, 20:43
Re: Armor Problem - by park4bmx - 15.12.2012, 21:00
Re: Armor Problem - by maramizo - 15.12.2012, 22:25

Forum Jump:


Users browsing this thread: 2 Guest(s)