24.06.2012, 19:36
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:
In my tazer command, I added this to replenish armor if hit by a tazer:
However, on that line I got this warning:
Any ideas on how to fix this?
This is my function:
pawn Код:
stock SetCutArmor(playerid, amount)
{
PlayerInfo[playerid][pArmor] = amount;
return 1;
}
pawn Код:
SetCutArmor(Target, ArmourLost+Armor);
Код:
warning 213: tag mismatch