01.10.2013, 17:51
Actually, you could just replace these lines:
With this:
Keep it how you want, I'm just improving your knowledge :P.
pawn Code:
SetPlayerColor(id, COLOR_RED); //Sets targets color, so the cops can easily notice him.
format(string, sizeof(string), "%s is now wanted!", name);
pawn Code:
if(wantedlevel > 0)
{
SetPlayerColor(id, COLOR_WHITE); //Sets targets color, so the cops can easily notice him.
format(string, sizeof(string), "%s is no longer wanted!", name);
}
else
{
SetPlayerColor(id, COLOR_RED); //Sets target color so the cops can easily notice him.
format(string, sizeof(string), "%s is now wanted!", name);
}