30.03.2016, 04:30
Use "GivePlayerArmour(playerid, 10.0);" and it will give the player 60.0 armour if the player has 50.0 armour.
pawn Код:
stock GivePlayerArmour(playerid, Float:armour)
{
new Float:current_armour;
GetPlayerArmour(playerid, current_armour);
SetPlayerArmour(playerid, (current_armour + armour));
return 1;
}