Wanted level colors
#9

Quote:
Originally Posted by axxelac
Посмотреть сообщение
idk if you could do this :

pawn Код:
new hasatimer[MAX_PLAYERS];
new timer;
forward timer(playerid, wanted);

public OnPlayerUpdate
{
  new wanted;
  wanted = GetPlayerWantedLevel(playerid);
  if(wanted >= 3)
  {
      timer = SetTimerEx("timer", 10000, true, "ud", playerid, wantedlevel);
  }
  else if(wanted == 0 && hasatimer[playerid] == 1)
  {
     KillTimer(timer);
  }
}


public timer(playerid, wantedlevel)
{
   hasatimer[playerid] = 1;
   ///Your Loose Wanted
}
isnt putting it under OnPlayerUpdate not necessary (MP2)
Reply


Messages In This Thread
Wanted level colors - by SnG.Scot_MisCuDI - 26.06.2012, 01:27
Re: Wanted level colors - by Dan_Barocu - 26.06.2012, 01:36
Respuesta: Wanted level colors - by Chris1337 - 26.06.2012, 01:39
Re: Wanted level colors - by MP2 - 26.06.2012, 02:36
Re: Wanted level colors - by SnG.Scot_MisCuDI - 26.06.2012, 05:00
Re: Wanted level colors - by Rokzlive - 26.06.2012, 06:18
Re: Wanted level colors - by SnG.Scot_MisCuDI - 29.06.2012, 02:04
Re: Wanted level colors - by Chris1337 - 29.06.2012, 02:48
Re: Wanted level colors - by SnG.Scot_MisCuDI - 30.06.2012, 01:05
Re: Wanted level colors - by ReneG - 30.06.2012, 01:46

Forum Jump:


Users browsing this thread: 7 Guest(s)