Team Chat Bug.
#1

When someones typed !hello it's just saying it in the normal chat. So everyone can read it. I hope somebody can help me.

pawn Код:
if(text[0] == '!' && text[1] != 0)
  {
    format( string, 128, "[Team] %s: %s", pInfo[playerid][name], text[1] );
    for(new i = 0; i < MAX_PLAYERS; i++ )
    {
      if( IsPlayerConnected(i) && gTeam[i] == gTeam[i] )
        SendClientMessage( i, teamchat, string );
    }
    return 0;
  }
Reply


Messages In This Thread
Team Chat Bug. - by ~Dangun! - 27.01.2010, 11:30
Re: Team Chat Bug. - by leaNN! - 27.01.2010, 12:00
Re: Team Chat Bug. - by SlashPT - 27.01.2010, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)