How to make PlayerID near player nick ?
#5

You mean something like this?
pawn Код:
public OnPlayerText(playerid, text[])
{
    new sendername[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s(%d): %s", sendername, playerid, text);
    SendClientMessageToAll(COLOR_HERE, string);
    return 0;
}
This should work, I haven't tested I wrote this up quickly.
Reply


Messages In This Thread
How to make PlayerID near player nick ? - by Ninaxer - 06.10.2010, 16:24
Re: How to make PlayerID near player nick ? - by Ninaxer - 06.10.2010, 16:45
Re: How to make PlayerID near player nick ? - by Rachael - 06.10.2010, 17:06
Re: How to make PlayerID near player nick ? - by Ninaxer - 06.10.2010, 17:15
Re: How to make PlayerID near player nick ? - by Burridge - 06.10.2010, 17:23

Forum Jump:


Users browsing this thread: 1 Guest(s)