Player doesn't have enough money ?
#1

I have this command
pawn Код:
if (strcmp("/m4", cmdtext, true, 10) == 0){
        GivePlayerWeapon(playerid, 31, 200);
        GivePlayerMoney(playerid, -500);
        return 1;
    }
How can I make it when the player doesn't have the money to give him this message :
pawn Код:
SendClientMessage(playerid, COLOR_RED, "YOU NEED MORE MONEY TO BUY THIS WEAPON !");
Reply


Messages In This Thread
Player doesn't have enough money ? - by Bumper - 13.07.2010, 18:16
Re: Player doesn't have enough money ? - by MikkelGutten - 13.07.2010, 18:19
Re: Player doesn't have enough money ? - by Jay. - 13.07.2010, 18:19
Re: Player doesn't have enough money ? - by Jakku - 13.07.2010, 18:19
Re: Player doesn't have enough money ? - by MikkelGutten - 13.07.2010, 18:20
Re: Player doesn't have enough money ? - by Mauzen - 13.07.2010, 18:20
Re: Player doesn't have enough money ? - by Hiddos - 13.07.2010, 18:20
Re: Player doesn't have enough money ? - by Jakku - 13.07.2010, 18:21
Re: Player doesn't have enough money ? - by MikkelGutten - 13.07.2010, 18:22
Re: Player doesn't have enough money ? - by Bumper - 13.07.2010, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)