ChatBubble or 3D label?
#1

Hello, how can I make chatbubble or 3d label to be above player and stay until player performs certain command to remove them? I want to make text [ADMIN] over players head, but how?
Reply
#2

There's a distinct lack of tutorials in this field.

You'll want to be using 3D labels. Chatbubbles are only around a short time before they disappear.
Reply
#3

Create3DTextLabel + Attach3DTextLabelToPlayer.
Reply
#4

i am going to use task function from ******'s y_timers.
Thank you for answers.
Reply
#5

You can set the time for chat bubbles. So they dont "dissapear in short time".

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
Reply
#6

Quote:
Originally Posted by GangstaSunny.
View Post
You can set the time for chat bubbles. So they dont "dissapear in short time".

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
that's exactly what i did.

Code:
task ChatDouble[3000]()
{
	foreach(Player,i)
	{
                //chat bubbles with 3000ms time
Reply
#7

Quote:
Originally Posted by ElMaestro123
View Post
that's exactly what i did.

Code:
task ChatDouble[3000]()
{
	foreach(Player,i)
	{
                //chat bubbles with 3000ms time
I still suggest using 3DTextLabels for long time texts, like if you want to display something above the player head that should stay there for a while, for example writing "Admin" or things like those.

And use bubble for short term texts like actions, appearance, etc.
Reply
#8

Quote:
Originally Posted by AndreiWow
View Post
I still suggest using 3DTextLabels for long time texts, like if you want to display something above the player head that should stay there for a while, for example writing "Admin" or things like those.

And use bubble for short term texts like actions, appearance, etc.
you are right, but the player that which has 3d text on him will see it
Reply
#9

No he wont?
Reply
#10

Quote:
Originally Posted by ElMaestro123
View Post
you are right, but the player that which has 3d text on him will see it
No he won't see it. Do only use 3DText if you want them to destroy them by yourself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)