/Buylevel command problem.
#5

pawn Код:
if(strcmp(cmdtext,"/buylevel",true)==0)
{
    if(GetPlayerMoney(playerid) < 100000 && GetPlayerScore(playerid) != 0)
        return SendClientMessage(playerid, COLOR_BRIGHTRED, "You don't have enough money.");
    SetPlayerRank(playerid, 1);
    SetPlayerScore(playerid, 1);
    GivePlayerMoney(playerid, -100000);
    SendClientMessage(playerid, COLOR_GREEN,"Gratz! You bought level 1.");
    return 1;
}
Reply


Messages In This Thread
/Buylevel command problem. - by FreЉ - 11.02.2011, 01:12
Re: /Buylevel command problem. - by Memoryz - 11.02.2011, 01:16
Re: /Buylevel command problem. - by FreЉ - 11.02.2011, 01:23
Re: /Buylevel command problem. - by Zack9764 - 11.02.2011, 01:53
Re: /Buylevel command problem. - by California - 11.02.2011, 02:07
Re: /Buylevel command problem. - by Unknown123 - 11.02.2011, 02:08
Re: /Buylevel command problem. - by FreЉ - 11.02.2011, 02:17
Re: /Buylevel command problem. - by Antonio [G-RP] - 11.02.2011, 02:45

Forum Jump:


Users browsing this thread: 2 Guest(s)