Problem chat report
#1

I have a problem when I write something on the report appears and chat as a player and as an administrator and appears normal chat.
http://i.imgur.com/ePAEvyu.png
Код:
  	if(IsInChat[playerid] == 1)
	{
    foreach(Player, i)
    {
       if(IsInChat[i] > 0)
       {
           if(PlayerInfo[playerid][pAdmin] > 1)
		 {
		   format (string,sizeof ( string ), "( ! )Administrator:[%s][%s]", GetName(playerid), text);
		   SendClientMessage(i, 0x6633CCFF, string);
   		}
   		if(PlayerInfo[playerid][pTrial] > 1)
		 {
		   format (string,sizeof ( string ), "( ! )Asistent:[%s][%s]", GetName(playerid), text);
		   SendClientMessage(i, 0x6633CCFF, string);
   		}
   		{
		   format (string,sizeof ( string ), "( ! )Jucator:[%s][%s]", GetName(i), text);
		   SendClientMessage(i, 0x6633CCFF, string);
   		}
       }
    }
}
Reply
#2

Return 0 under OnPlayerText?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)