samedi 16 juillet 2016

[Ajuda] ajuda CONTADOR DRIFT

COMO FAÇO PARA ADCIONAR SCORE NO DRIFT... NA TEXTDRAW ELE APAREÇE CERTO MAIS NO TAB ELE APAREÇE SOMENTE 10 DE SCORE...

Code:

public DriftEarn(playerid,  score)
{
    playerDrift [playerid] += score;
    new aa[25];
    switch(playerDrift [playerid])
    {
            case 000 .. 500:          aa = "~b~Drift";
            case 501 .. 900:          aa = "~b~Good Drift";
            case 901 .. 1200:         aa = "~b~Great Drift";
            case 1201 .. 3800:        aa = "~b~SUPER DRIFT!";
            case 3801 .. 6000:        aa = "~b~COLOSSAL DRIFT!";
            case 6001 .. 20000:       aa = "~b~OUTRAGEOUS DRIFT!";
            case 20001 .. 40000:      aa = "~r~INSANE DRIFT!";
            default:                  aa = "~r~DRIFT KING!";
    }

    format(dstring, sizeof dstring, "%s ~w~%0d", aa, playerDrift[playerid]);
    TextDrawSetString(PlayerText[playerid][DRP], dstring);
    PlayerInfo[playerid][pPoint] += playerDrift[playerid]/180;
    KillTimer(bruno[playerid]);
    bruno[playerid] = SetTimerEx("DriftCheck", 1700, false, "d", playerid);
    return true;
}

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.



[Ajuda] ajuda CONTADOR DRIFT

Aucun commentaire:

Enregistrer un commentaire