wanted colors
#3

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;
}
Reply


Messages In This Thread
wanted colors - by HardBoy - 08.09.2012, 14:23
Re: wanted colors - by Djole1337 - 08.09.2012, 14:27
Re: wanted colors - by Lordzy - 08.09.2012, 14:33
Re: wanted colors - by HardBoy - 08.09.2012, 14:47
Re: wanted colors - by HardBoy - 08.09.2012, 14:57
Re: wanted colors - by clarencecuzz - 08.09.2012, 14:59
Re: wanted colors - by HardBoy - 08.09.2012, 15:03
Re: wanted colors - by clarencecuzz - 08.09.2012, 15:03
Re: wanted colors - by HardBoy - 08.09.2012, 15:25

Forum Jump:


Users browsing this thread: 2 Guest(s)