20.04.2017, 19:01
its should be like this?
Код:
SetPlayerColors(playerid, level) { switch(GetPlayerWantedLevel(playerid)) { case 0: SetPlayerColor(playerid, COLOR_WHITE); case 1 .. 3: SetPlayerColor(playerid, COLOR_YELLOW); case 4 .. 10: SetPlayerColor(playerid, COLOR_ORANGE) default: SetPlayerColor(playerid, COLOR_DARKORANGE); } return 1; }