OnPlayerText - 3DText
#1

Hello

How can i do that, if i use function OnPlayerText, then this text when i write become on player head with 3DText, and then.. maybe in 5 second, it is gone again.

So example:

I say: Hello

Then 3dtext on me: Hello

And in 5 second it will dissapear OR

if 5 second isnt over and i tell another text then this 3dText on my head just update, and comes that what i said

If you dont understand me please say and i try to explain more.
Reply
#2

By using SetPlayerChatBubble.

Example.
pawn Код:
public OnPlayerText(playerid, text[])
{
    SetPlayerChatBubble(playerid, text, 0xFF0000FF, 30.0, 5000); // This does it for 5 seconds.
    return 1;
}
Reply
#3

Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)