how to add Player near the name on the chat and player actions
#9

Try This !!
pawn Код:
public OnPlayerText(playerid, text[])
{
    new pName[MAX_PLAYERS], string[24;]
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "{%06x}%s | %d{FFFFFF}: %s", (GetPlayerColor(playerid) >>> 8), pName, playerid, text);
    SendClientMessageToAll(-1, string);
    SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 75.0, 5000);
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)