how i add id in the chat ?
#7

Quote:
Originally Posted by Don Correlli
pawn Код:
public OnPlayerText(playerid, text[])
{
  new
      myArray[128];
  GetPlayerName(playerid, myArray, MAX_PLAYER_NAME);
  format(myArray, sizeof(myArray), "%s (%i): %s", myArray, playerid, text);
  SendClientMessageToAll(0xFFFFFFFF, myArray);
  return true;
}
pawn Код:
public OnPlayerText(playerid, text[])
{
  new
      myArray[128];
  GetPlayerName(playerid, myArray, MAX_PLAYER_NAME);
  format(myArray, sizeof(myArray), "%s (%i): %s", myArray, playerid, text);
  SendClientMessageToAll(0xFFFFFFFF, myArray);
  return false; //The original message will not be sent
}
Try this.
Reply


Messages In This Thread
how i add id in the chat ? - by rong13 - 30.03.2010, 13:44
Re: how i add id in the chat ? - by FireFox_ - 30.03.2010, 13:54
Re: how i add id in the chat ? - by jamesbond007 - 30.03.2010, 14:09
Re: how i add id in the chat ? - by Ragidon - 30.03.2010, 14:12
Re: how i add id in the chat ? - by Correlli - 30.03.2010, 14:14
Re: how i add id in the chat ? - by rong13 - 30.03.2010, 14:36
Re: how i add id in the chat ? - by Zimon95 - 30.03.2010, 14:50
Re: how i add id in the chat ? - by rong13 - 31.03.2010, 12:38
Re: how i add id in the chat ? - by Mike Garber - 31.03.2010, 12:42
Re: how i add id in the chat ? - by johnathon956 - 01.04.2010, 17:35

Forum Jump:


Users browsing this thread: 4 Guest(s)