04.01.2013, 12:46
pawn Код:
new PlayerText3D:Player3d[MAX_PLAYERS];
OnPlayerConnect(playerid)
{
new string[256],name[128];
GetPlayerName(playerid,name,sizeof(name));
format(string,256,"%s (%d)",name,playerid);
Player3d[playerid] = CreatePlayer3DTextLabel(playerid,string,0x008080FF,0,0,0,40.0);
Attach3DTextLabelToPlayer(Player3d[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
}
UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, text[])