01.07.2013, 23:29
id do it like this:
Not on my PC so i cant check
Sorry if it fails.
pawn Код:
case 0:
{
if(AC_GetPlayerMoney(playerid < 2000))return SendClientMessage(playerid,COLOR_LIGHTBLUE,"You do not have enough money");
else
{
SetPlayerArmour(playerid, 100);
GivePlayerMoney(playerid, -2000);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have purchased Armor!");
}
return 1;
}
