Next to the name (id number) show
#3

Hm, try this:
pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128], playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    format(string, sizeof(string), "%s(%d): %s",playername, playerid, text);
    SendClientMessageToAll(0xFFFFFFAA, string);
    return 0;
}
Edit: Someone was faster than me
Reply


Messages In This Thread
Next to the name (id number) show - by y@sin1 - 23.03.2011, 08:07
Re: Next to the name (id number) show - by xRyder - 23.03.2011, 08:15
Re: Next to the name (id number) show - by Biesmen - 23.03.2011, 08:16
Re: Next to the name (id number) show - by aircombat - 23.03.2011, 08:21
Re: Next to the name (id number) show - by Biesmen - 23.03.2011, 08:22
Re: Next to the name (id number) show - by aircombat - 23.03.2011, 09:03
Re: Next to the name (id number) show - by Biesmen - 23.03.2011, 09:06
Re: Next to the name (id number) show - by y@sin1 - 23.03.2011, 09:06
Re: Next to the name (id number) show - by aircombat - 23.03.2011, 09:11
Re: Next to the name (id number) show - by afizie98 - 22.08.2011, 14:50

Forum Jump:


Users browsing this thread: 4 Guest(s)