SA-MP Forums Archive
Editing the nametag (?) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Editing the nametag (?) (/showthread.php?tid=636042)



Editing the nametag (?) - lukasion1 - 18.06.2017

Well I know there is a way to edit nametag of a player.
It can be seen in this videos (ls-rp server). Look at the red label above nametag.
https://*********/vmorjh5wEW8?t=1030

Or somehow they managed to create their own 3d text label and attach health/armor bars.
I'd like to know how it is made, becouse whenever I try to attach 3d text to the player and "try" to set "Z" position in the right place - positions changes while I walk few steps away from the player. It isn't attached to nametag, so sometimes it overflows the name, it realy looks bad.

I'd like to know what's the way to make it look like on LSRP.


Re: Editing the nametag (?) - Antenastyle - 18.06.2017

You can use SetPlayerChatBubble to set a description or whatever you want.
https://sampwiki.blast.hk/wiki/SetPlayerChatBubble


Re: Editing the nametag (?) - Fairuz - 18.06.2017

They use 3d text label and then attach it to players.
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer