14.11.2010, 04:40
hey,... hmm i want to make an id next to players name and i wrote a code but its only one color...
but i want to do "Player [i](players color): text(white)
thanks
but i want to do "Player [i](players color): text(white)
Код:
public OnPlayerText(playerid, text[]) { new string[128]; GetPlayerName(playerid, string, sizeof string); format(string, sizeof string, "%s [#%d]: %s", string, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; }