[Tutorial] How to make wanted level's with colors
#7

Very bad tutorial.

Quote:
Originally Posted by iFarbod
View Post
I think it's better using this one by me :

pawn Code:
stock SetPlayerWantedLevelEx(playerid, level)
{
   switch(level)
   {
        case 0: SetPlayerColor(playerid, -1);
        case 1: SetPlayerColor(playerid, COLOR_YELLOW);
        case 2: SetPlayerColor(playerid, COLOR_YELLOW);
        case 3: SetPlayerColor(playerid, COLOR_ORANGE);
        case 4: SetPlayerColor(playerid, COLOR_DARKORANGE);
        case 5: SetPlayerColor(playerid, COLOR_RED);
        case 6: SetPlayerColor(playerid, COLOR_RED);
    }
    return SetPlayerWantedLevel(playerid, level);
}

#define SetPlayerWantedLevel SetPlayerWantedLevelEx
Just a few adjustments.

pawn Code:
stock SetPlayerWantedLevelEx(playerid, level)
{
   switch(level)
   {
        case 0: SetPlayerColor(playerid, -1);
        case 1, 2: SetPlayerColor(playerid, COLOR_YELLOW);
        case 3: SetPlayerColor(playerid, COLOR_ORANGE);
        case 4: SetPlayerColor(playerid, COLOR_DARKORANGE);
        case 5, 6: SetPlayerColor(playerid, COLOR_RED);
    }
    return SetPlayerWantedLevel(playerid, level);
}

#define SetPlayerWantedLevel SetPlayerWantedLevelEx
Reply


Messages In This Thread
How to make wanted level's with colors - by rockhopper - 25.05.2014, 09:42
Re: How to make wanted level's with colors - by rockhopper - 25.05.2014, 16:41
Re: How to make wanted level's with colors - by Isolated - 25.05.2014, 16:57
Re: How to make wanted level's with colors - by NaClchemistryK - 25.05.2014, 17:02
Re: How to make wanted level's with colors - by [WSF]ThA_Devil - 30.05.2014, 17:32
Re: How to make wanted level's with colors - by iFarbod - 30.05.2014, 17:50
Re: How to make wanted level's with colors - by SickAttack - 21.10.2014, 02:48
Re: How to make wanted level's with colors - by TwinkiDaBoss - 21.10.2014, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)