26.06.2012, 02:36
(
Последний раз редактировалось MP2; 26.06.2012 в 03:12.
)
Why are you setting it under OnPlayerUpdate? That's incredibly inefficient and un-necessary. Just set their color when you change their wanted level!
pawn Код:
switch(wantedlevel)
{
case 0: SetPlayerColor(playerid, COLOR_WHITE);
case 1..3: SetPlayerColor(playerid, COLOR_YELLOW);
default: SetPlayerColor(playerid, COLOR_RED);
}