28.04.2012, 19:13
i have this for wanted level colours:
how i make when Team_Civi see any level, they are all COLOR_WHITE ?
pawn Код:
public WantedLevelColor(playerid)
{
new pwl = GetPlayerWantedLevel(playerid);
if(pwl == 6)
{
SetPlayerColor(playerid, COLOR_RED);
}
if(pwl == 5)
{
SetPlayerColor(playerid, COLOR_ORANGE);
}
if(pwl == 4)
{
SetPlayerColor(playerid, COLOR_ORANGE);
}
if(pwl == 3)
{
SetPlayerColor(playerid, COLOR_YELLOW);
}
if(pwl == 2)
{
SetPlayerColor(playerid, COLOR_YELLOW);
}
if(pwl == 1)
{
SetPlayerColor(playerid, COLOR_YELLOW);
}
if(pwl == 0)
{
SetPlayerToTeamColor(playerid);
}
return 1;
}