/wanted command
#6

Quote:
Originally Posted by $ЂЯĢ
pawn Код:
foreach(Player,i)
{
  if(1 <= GetPlayerWantedLevel(i) <= 4) {
//do what you want
  }
}


for(new i=0; i<MAX_PLAYERS; i++)
{
  if(IsPlayerConnected(i)) {
    if(1 <= GetPlayerWantedLevel(i) <= 4) {
//do what you want
    }
  }
}
Foreach and casual edition.
Thanks
Reply


Messages In This Thread
/wanted command - by Jakku - 02.11.2009, 15:34
Re: /wanted command - by Burridge - 02.11.2009, 15:36
Re: /wanted command - by Jakku - 02.11.2009, 15:38
Re: /wanted command - by Burridge - 02.11.2009, 15:39
Re: /wanted command - by Sergei - 02.11.2009, 16:25
Re: /wanted command - by Jakku - 02.11.2009, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)