How to make Level System
#7

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
This is how
Uhm, lol, no, it isn't.

level[playerid]=1; will always set the level to 1, which you should already know.

This will work:

pawn Код:
CMD:buylevel(playerid, params[])
{
    if(PlayerInfo[playerid][pRP] >= 50)
    {
        GivePlayerMoney(playerid, -200);
        level[playerid] += 1;
        PlayerInfo[playerid][pRP] -= 50;
    }
   
    return 1;
}
If it still doesn't work the way you want it to, please emphasize on what doesn't work, so we know what to fix!
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)