[Ajuda] Patentes
#10

Quote:
Originally Posted by PT
Посмотреть сообщение
Aplique um switch que й muito melhor que isso.
Minha intenзгo foi complementar a resposta do JonathanFeitosa. Mas vocк estб certo, tambйm prefiro switch
pawn Код:
stock Ranking(playerid)
{
    new rr[15];
    switch(PlayerInfo[playerid][pWins])
    {
        case 0..10: rr="New Driver";
        case 30..49: rr="Young Driver";
        case 50..79: rr="Huge Driver";
        case 80..149: rr="Great Driver";
        case 150..199: rr="Good Driver";
        case 200..299: rr="Driver Master";
        case 300..499: rr="Old Driver";
        default: rr="High Driver";
    }
    return rr;
}
-------
Ts3, experimente colocar PlayerInfo[playerid][pWins]++; no inicio de IsPlayerRankingInfo
Reply


Messages In This Thread
Patentes - by Ts3 - 07.12.2014, 22:21
Re: Patentes - by JonathanFeitosa - 07.12.2014, 22:30
Re: Patentes - by Artista - 07.12.2014, 22:42
Re: Patentes - by Ts3 - 07.12.2014, 23:07
Re: Patentes - by JonathanFeitosa - 07.12.2014, 23:08
Re: Patentes - by Ts3 - 07.12.2014, 23:25
Re: Patentes - by JonathanFeitosa - 07.12.2014, 23:34
Re: Patentes - by Artista - 07.12.2014, 23:40
Re: Patentes - by PT - 08.12.2014, 00:25
Re: Patentes - by Artista - 08.12.2014, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)