Creating an experience system:
#3

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
PHP код:
stock AddPlayerEXP(playerid,xp)
{
    
pEXP pEXP xp;
    if(
pEXP >= 1000)
    {
        
SetPlayerScore(playerid,GetPlayerScore(playerid) + 1);
        
pEXP pEXP 1000;
        
pLevel++;
    }
    return 
1;

Added the pLevel++;
Reply


Messages In This Thread
Creating an experience system: - by Twizted - 12.06.2014, 13:01
AW: Creating an experience system: - by BiosMarcel - 12.06.2014, 13:32
Re: AW: Creating an experience system: - by magnusburton - 12.06.2014, 13:34
Re: Creating an experience system: - by _Mohit_ - 12.06.2014, 14:01
Re: Creating an experience system: - by Twizted - 12.06.2014, 17:38
Re: Creating an experience system: - by TakeiT - 12.06.2014, 17:53
Re: Creating an experience system: - by Patrick - 12.06.2014, 18:02
Re: Creating an experience system: - by Denying - 12.06.2014, 18:09
Re: Creating an experience system: - by Dignity - 12.06.2014, 18:16
AW: Re: Creating an experience system: - by BiosMarcel - 12.06.2014, 18:44

Forum Jump:


Users browsing this thread: 2 Guest(s)