SA-MP Forums Archive
How do I create Label above Players NAME - 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: How do I create Label above Players NAME (/showthread.php?tid=386173)



How do I create Label above Players NAME - Eminem 2ka9 - 19.10.2012

I was going to set the labels with my rank system, but I thought that it would be too complicated.
So instead I am trying to make things easier and set it by "Player" or "Admin"...So If a player is not an admin level 1+, then the label will say "Player" above his name. If he is an administrator, then the label will say "Level 1 admin" etc.
My admin system has 7 Levels! (I use LuxAdmin) https://sampforum.blast.hk/showthread.php?tid=120724

Thanks !


Re: How do I create Label above Players NAME - DaRk_RaiN - 19.10.2012

Quote:
Originally Posted by Eminem 2ka9
Посмотреть сообщение
I was going to set the labels with my rank system, but I thought that it would be too complicated.
So instead I am trying to make things easier and set it by "Player" or "Admin"...So If a player is not an admin level 1+, then the label will say "Player" above his name. If he is an administrator, then the label will say "Level 1 admin" etc.
My admin system has 7 Levels! (I use LuxAdmin) https://sampforum.blast.hk/showthread.php?tid=120724

Thanks !
I can make you the rank system with lables above name, Just give me the ranks.


Re: How do I create Label above Players NAME - Riddick94 - 19.10.2012

https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
https://sampwiki.blast.hk/wiki/Update3DTextLabelText

You can also use CreatePlayer3DTextLabel (but not sure how it works, i mean.. is it shows for other players too)

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
I can make you the rank system with lables above name, Just give me the ranks.
You should not do this for him, because its a Scripting Help, not Script request forum.


Re: How do I create Label above Players NAME - gtakillerIV - 19.10.2012

You will have to use "cases" because you want it to say if he is a level 2..3..4..5....etc admin or you can use "else if". Cases are faster than "else if".


Re: How do I create Label above Players NAME - ikbenremco - 19.10.2012

https://sampforum.blast.hk/showthread.php?tid=381058


Re: How do I create Label above Players NAME - Sting. - 13.09.2013

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
https://sampwiki.blast.hk/wiki/Update3DTextLabelText

You can also use CreatePlayer3DTextLabel (but not sure how it works, i mean.. is it shows for other players too)


You should not do this for him, because its a Scripting Help, not Script request forum.
Riddick actually if he wants to help or do it for him, its ok but as long as he "wishes" to do so.