Weapon damages
#1

EDIT: fuck me, used wrong specifier
Reply
#2

pawn Код:
else if(arm < 1)
                    {
                        SetPlayerArmour(damagedid, arm);
                        SetPlayerHealth(playerid, hp-COLTDMG);
                    }
Shouldn't playerid be damagedid?

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);
                }
Same with here, shouldn't playerid be damagedid?

EDIT: Saw your edit, disregard.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)