10.05.2015, 19:18
pawn Код:
else if(arm < 1)
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG);
}
pawn Код:
case 4:
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG/1.5);
}
case 5:
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG/2);
}
case 6:
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG/2);
}
case 7:
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG/2);
}
case 8:
{
SetPlayerArmour(damagedid, arm);
SetPlayerHealth(playerid, hp-COLTDMG/2);
}
EDIT: Saw your edit, disregard.