warning 213: tag mismatch on custom function
#1

Hello, I am creating a anti-hack system, and of course I had to create a new way to set armor.

This is my function:

pawn Код:
stock SetCutArmor(playerid, amount)
{
    PlayerInfo[playerid][pArmor] = amount;
    return 1;
}
In my tazer command, I added this to replenish armor if hit by a tazer:
pawn Код:
SetCutArmor(Target, ArmourLost+Armor);
However, on that line I got this warning:
Код:
warning 213: tag mismatch
Any ideas on how to fix this?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)