14.06.2008, 22:16
GiveAllMoneyHealthArmour(money, Float:health, Float:armour);
pawn Code:
stock GiveAllMoneyHealthArmour(money, Float:health, Float:armour)
{
for(new i=0; i<GetMaxPlayers(); i++)
{
new Float:pHealth, Float:pArmour;
GetPlayerHealth(i, pHealth);
GetPlayerArmour(i, pArmour);
SetPlayerHealth(i, pHealth+health);
SetPlayerArmour(i, pArmour+armour);
GivePlayerMoney(i, money);
}
return true;
}