27.02.2012, 19:30
pawn Code:
if(_sg_PlayerInfo[playerid][shPlayerArmour] < 0)
{
_sg_PlayerInfo[playerid][shPlayerArmour] = 0.0;
_sg_PlayerInfo[playerid][shPlayerHealth] += _sg_PlayerInfo[playerid][shPlayerArmour];
}
pawn Code:
if(_sg_PlayerInfo[playerid][shPlayerArmour] < 0)
{
_sg_PlayerInfo[playerid][shPlayerHealth] += _sg_PlayerInfo[playerid][shPlayerArmour];
_sg_PlayerInfo[playerid][shPlayerArmour] = 0.0;
}