how to get your id after your name in chat?
#1

the titel says the quistion :P
Reply
#2

That will send a message like this:

Thomas_Conroy (0): Hello

To send one like this:

Thomas_Conroy (0): Hello

Do this:

pawn Код:
public OnPlayerText(playerid, text[])
{
  new string[128];
  format(string, sizeof(string), "[%d]: %s", playerid, text);
  SendPlayerMessageToAll(playerid, string);
  return 0;
}
Reply
#3

-Snip-

Got mixed with SendClientMessageToAll.

Rather than SendPlayerMessageToAll
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)