displaying id in chat
#3

Quote:
Originally Posted by swiftyrus
Посмотреть сообщение
You can use something like this:
Код:
public OnPlayerText(playerid, text[])
{
    new pText[144];
    format(pText, sizeof (pText), "(%d) %s", playerid, text);
    SendPlayerMessageToAll(playerid, pText);
    return 0; // ignore the default text and send the custom one
}
A message will be seen as:
playername: (0) My message.
ty +rep
Reply


Messages In This Thread
displaying id in chat - by suni - 09.06.2015, 01:45
Re: displaying id in chat - by swiftyrus - 09.06.2015, 02:16
Re: displaying id in chat - by suni - 11.06.2015, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)