/Shop issues
#3

id do it like this:
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;
}
Not on my PC so i cant check Sorry if it fails.
Reply


Messages In This Thread
/Shop issues - by Jay_Dixon - 01.07.2013, 23:19
Re: /Shop issues - by arakuta - 01.07.2013, 23:28
Re: /Shop issues - by DobbysGamertag - 01.07.2013, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)