04.01.2014, 19:47
Quote:
Yo lo tengo asн:
pawn Код:
|
pawn Код:
for(new playerid = 0; playerid < MAX_PLAYERS; playerid ++)
{
Nick[playerid] = TextDrawCreate(65.000000, 425.000000, "");
TextDrawBackgroundColor(Nick[playerid], 255);
TextDrawFont(Nick[playerid], 1);
TextDrawLetterSize(Nick[playerid], 0.250000, 1.800000);
TextDrawColor(Nick[playerid],Blanco );
TextDrawSetOutline(Nick[playerid], 0);
TextDrawSetProportional(Nick[playerid], 1);
TextDrawSetShadow(Nick[playerid], 1);
}
Y esto es lo otro:
pawn Код:
format(String, sizeof(String), "{%06x}%s",(GetPlayerColor(playerid) >>> 8),playername);
TextDrawSetString(Nick[playerid], String);
TextDrawShowForPlayer(playerid,Nick[playerid]);