How to make Level System
#10

pawn Код:
CMD:buylevel(playerid, params[])
{
    if(PlayerInfo[playerid][pRP] >= 50)
    {
        if(GetPlayerMoney(playerid) >= 200)
        {
            GivePlayerMoney(playerid, -200);
            level[playerid] ++;
        }
        else
            SendClientMessage(playerid, 0xFF0000FF, "ERROR: You cannot afford this!");
    }
    else
        SendClientMessage(playerid, 0xFF0000FF, "ERROR: You cannot use this command!");
    return 1;
}
Reply


Messages In This Thread
How to make Level System - by prooftzm - 26.06.2014, 13:22
Re: How to make Level System - by RedFusion - 26.06.2014, 13:35
Re: How to make Level System - by prooftzm - 26.06.2014, 13:52
Re: How to make Level System - by Tadas - 26.06.2014, 14:00
Re: How to make Level System - by RedFusion - 26.06.2014, 14:09
Re: How to make Level System - by prooftzm - 26.06.2014, 14:09
Re: How to make Level System - by Dignity - 26.06.2014, 14:16
Re: How to make Level System - by RedFusion - 26.06.2014, 14:18
Re: How to make Level System - by prooftzm - 26.06.2014, 14:25
Re: How to make Level System - by RedFusion - 26.06.2014, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)