3D TEXT LABEL for each player
#2

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;
}
later you can edit it with this function
UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, text[])
Reply


Messages In This Thread
3D TEXT LABEL for each player - by Fergy - 04.01.2013, 12:32
Re: 3D TEXT LABEL for each player - by mineralo - 04.01.2013, 12:46
Re: 3D TEXT LABEL for each player - by Fergy - 04.01.2013, 12:48
Re: 3D TEXT LABEL for each player - by mineralo - 04.01.2013, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)