(Problem)Attach3DTextLabelToPlayer
#2

Well the way i've attached 3DTexts to my players is
Код:
new Text3D:Player[MAX_PLAYERS]; // This goes at the top of the script
then i'll use the cmd as an example
Код:
if(strcmp(cmdtext, "/playerlabel", true) == 0)
{
  Player[playerid] = Create3DTextLabel("Hello",COLOR_WHITE,0,0,0,15,0,1);
  Attach3DTextLabelToPlayer(Player[playerid],playerid,0,0,0.30);
  return 1;
}
That should work and if you wish to change their 3dtext just use
Код:
Update3DTextLabelText(Player[playerid],GetPlayerColor(playerid),"You updated me"); // Getplayercolor will only return a color if setplayercolor was used before
Reply


Messages In This Thread
(Problem)Attach3DTextLabelToPlayer - by ordixp - 17.10.2009, 22:45
Re: (Problem)Attach3DTextLabelToPlayer - by Beaver07 - 18.10.2009, 01:43
Re: (Problem)Attach3DTextLabelToPlayer - by Snyper1 - 18.10.2009, 04:19
Re: (Problem)Attach3DTextLabelToPlayer - by xMine - 18.10.2009, 09:15
Re: (Problem)Attach3DTextLabelToPlayer - by _ReloadeD_ - 18.10.2009, 09:17
Re: (Problem)Attach3DTextLabelToPlayer - by xMine - 18.10.2009, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)