24.07.2012, 17:36
pawn Код:
if(listitem == 1)
{
if(GetPlayerMoney(playerid) >= 3000)
{
GivePlayerMoney(playerid, -3000);
SetPlayerArmour(playerid, 100);
SCM(playerid, C_LGREEN, "Armour refilled! It cost $3000!");
}
else return SendClientMessage(playerid, C_RED, "Not enough money!");
}