08.09.2012, 14:33
Here you go.
pawn Код:
//Using zcmd include also.
#include <a_samp>
#include <zcmd>
#define red 0xFF0000
#define white 0xFFFFFF
#define yellow 0xCAFF70
public OnPlayerUpdate(playerid)
{
if(GetPlayerWantedLevel(playerid)==0)
{
SetPlayerColor(playerid,white);
}
if(GetPlayerWantedLevel(playerid)>=1)
{
SetPlayerColor(playerid,yellow);
}
if(GetPlayerWantedLevel(playerid)>=4);
{
SetPlayerColor(playerid,red);
}
return 1;
}