buying a armor problem.
#2

pawn Код:
if (strcmp("/armor", cmdtext, true, 10) == 0)
{
    if(GetPlayerMoney(playerid) < 3000) return SendClientMessage(playerid, COLOR_RED, "You need more money to buy a armour !");
    else
    {
        SetPlayerArmour(playerid, 100);
        GivePlayerMoney(playerid,-3000);
    }
    return 1;
}
Reply


Messages In This Thread
buying a armor problem. - by KissOfDeath - 23.10.2011, 08:55
Re: buying a armor problem. - by AeroBlast - 23.10.2011, 09:48
Re: buying a armor problem. - by Kostas' - 23.10.2011, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)