Whats wrong with this code?
#4

Indent your codes .

pawn Код:
if(strcmp(cmdtext, "/cbuy level", true) == 0)
    {
        if(GetPlayerMoney(playerid) < 10000000)
        {
            SendClientMessage(playerid, COLOR_ORANGE, "Purchase Complete. You are level 1.");
        }
        else
        {
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "Error: You need at least $10,000,000 to buy level.");
        }
        return 1;
    }
Reply


Messages In This Thread
Whats wrong with this code? - by CJ101 - 18.02.2009, 20:29
Re: Whats wrong with this code? - by darkrider366 - 18.02.2009, 20:36
Re: Whats wrong with this code? - by Marcel - 18.02.2009, 20:44
Re: Whats wrong with this code? - by Lazarus - 18.02.2009, 20:51
Re: Whats wrong with this code? - by Marcel - 18.02.2009, 21:01
Re: Whats wrong with this code? - by Lazarus - 18.02.2009, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)