Team 3D Text Labels?
#1

I'm adding tags onto people that say the users rank. I'm wondering is it possible to make it to where you can only see your own team's tags? Would using...

CreatePlayer3DTextLabel (to all of your team only)
Update3DTextLabelText (How would I update them properly for each player)
Attach3DTextLabelToPlayer (how would I attach them to the correct people)


work?

Thank you

EDIT: Man I am really confused
Reply
#2

Ok after 5 minutes of total darkness I think I got it


Код:
//OnPlayerSpawn
Foreach...
  if(team = MYTEAM)
  Create3DLabel;
  if(rank = 1)
  Update3DLabel //to rank 1
  if(rank = 2)
  Update3DLabel //to rank 2
  //etc
  Attach3DLabel(playerid);
And for updates... rank up, player leaves and someones else joins....

How do I update them?
Reply
#3

Set a timer, every second it checks if they get a rank, if they do, you update the 3d text label.
Reply
#4

... this only to gang thing i think i can do
but where is you rank stored?
and what is max players on your server?
Reply
#5

Quote:
Originally Posted by (SF)Noobanatior
...
Stop posting useless stuff.
Reply
#6

Quote:
Originally Posted by NiiRV4N4
Quote:
Originally Posted by (SF)Noobanatior
...
Stop posting useless stuff.
Stop posting useless stuff. mine was a edit im try to help and decided my idea isnt ideal so i removed is
Quote:
Originally Posted by (SF)Noobanatior
... this only to gang thing i think i can do
but where is you rank stored?
and what is max players on your server?
Reply
#7

for easier scripting i just decided to make all tags visible to everyone. thanks though
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)