TextDrawShowForAllBut
#1

pawn Код:
forward TextDrawShowForAllBut(playerid,const Text:TextDraw);
public TextDrawShowForAllBut(playerid,const Text:TextDraw)
{
   for(new i = 0; i < MAX_PLAYERS; i ++)
   {
      if(!IsPlayerConnected(i)) continue;
      if(playerid == i) continue;

      TextDrawShowForPlayer(i,TextDraw);
   }
}
Sometimes it shows the textdraw to the player we don't want to show for example i don't want to show the message to the command user but it does mostly
Reply


Messages In This Thread
TextDrawShowForAllBut - by AroseKhanNiazi - 13.05.2014, 04:51
Re: TextDrawShowForAllBut - by amirab - 13.05.2014, 08:22
Re: TextDrawShowForAllBut - by AroseKhanNiazi - 13.05.2014, 08:25

Forum Jump:


Users browsing this thread: 1 Guest(s)