Changing player name tag
#1

How I can change player's name tag without changing his whole name only his name above his head ? so when players will press TAB they will still see his current IG name, but how to change only their name above his head ?
Reply
#2

Not possible. UNLESS you hide all player's names and replace the name above their head with 3d labels
Reply
#3

Quote:
Originally Posted by -Prodigy-
Посмотреть сообщение
Not possible. UNLESS you hide all player's names and replace the name above their head with 3d labels
What he said, Hide the player's nametag, Then use 3d text labels to show the new name.
Reply
#4

Well if I understand right I should use that function to show player's tags and put it on game mode init ..
Then next step when player connect I should get his name and show it in 3D text labels
But to change name - for example I'm working on /mask I will need to destroy that text label and replace it with new one with name "Stranger"... that is possible right ? But how should I make if player write /mask again original IG name will be above his head again? thank you for response
Reply
#5

Yes it is possible... onplayertext.... So basically you can do it
Reply
#6

Why on OnPlayerText and what is there..? help bit more it's first time I will be doing thing like this ^^
Reply
#7

Umm you can do it when OnPlayertext player sayљ something it will show YourAddedName: text...

Then you can put it 3dLableText add on his head YourAddedName.. Look at mask filterscripts and you will see how it works.

You need something like mask system only with /changename id youraddedname... So yeah use your command processor and sscanf
Reply
#8

Well thank you I will try to figure out
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)