01.02.2018, 08:20
format(string,sizeof(string),"%s (%d)",playerName,playerid);
PlayerNames[11][playerid] = Create3DTextLabel(string, 0xFFFFFFFF, 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
Attach3DTextLabelToPlayer(PlayerNames[11][playerid], playerid, 0.0, 0.0, 0.2);
Update3DTextLabelText(PlayerNames[11][playerid], 0xFFFFFFFF, string);
SetPlayerColor(playerid,TEAM_HIT_COLOR);
PlayerNames[11][playerid] = Create3DTextLabel(string, 0xFFFFFFFF, 0, 0, 0, NAME_DRAWDISTANCE, 0, 1 );
Attach3DTextLabelToPlayer(PlayerNames[11][playerid], playerid, 0.0, 0.0, 0.2);
Update3DTextLabelText(PlayerNames[11][playerid], 0xFFFFFFFF, string);
SetPlayerColor(playerid,TEAM_HIT_COLOR);