How to make player ID near players name???
#1

How to make player ID near player name
example:
"Dozikas(1): Hello all."
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s(%d): %s",name,playerid, text);
    SendClientMessageToAll(-1, string);
    return 0;
}
Here, try this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)