21.10.2014, 02:48
Very bad tutorial.
Just a few adjustments.
Quote:
I think it's better using this one by me :
pawn Code:
|
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