Little help needed with player ID's
#2

It's easy:

pawn Код:
public OnPlayerText(playerid, text[])
{
    new pName[MAX_PLAYER_NAME], msg[256];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(msg, sizeof(msg), "%s (%d): %s", pName, playerid, text);
    SendPlayerMessageToAll(playerid, msg);
    return 0;
}
Reply


Messages In This Thread
Little help needed with player ID's - by Da' J' - 08.02.2012, 17:19
Re: Little help needed with player ID's - by Nonameman - 08.02.2012, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)