Chat Bubble - Help
#1

Hello, I was wondering, how do I do a command that displays a chat bubble above the head of the player.
I want it to be a command , for example /adminduty (or anything else) and then a text would pop up above players head saying "Admin", so other players would know he is on admin duty. Thanks in advance...
Reply
#2

Quote:
Originally Posted by DDodo
Hello, I was wondering, how do I do a command that displays a chat bubble above the head of the player.
I want it to be a command , for example /adminduty (or anything else) and then a text would pop up above players head saying "Admin", so other players would know he is on admin duty. Thanks in advance...
SetPlayerChatBubble(playerid, "admin");
Reply
#3

Can be done with Attach3DTextLabelToPlayer(playerid,admintxt,0.0,0. 0,2.0)
Reply
#4

Quote:
Originally Posted by Thrarod
Can be done with Attach3DTextLabelToPlayer(playerid,admintxt,0.0,0. 0,2.0)
...
Reply
#5

Thank you, but I am wondering, how can I change the color of it?

Edit: Nevermind, solved
Reply
#6

Quote:
Originally Posted by DDodo
Thank you, but I am wondering, how can I change the color of it?
SetPlayerChatBubble(playerid, COLOR_HERE, "admin");
Reply
#7

hmm, what's the function for removing it with another cmd?
Reply
#8

If you use chat bubble it will go away after some time but if you use 3dtext then Destroy3dtextlabel(labelid) or something like that
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)