OnPlayerText - 3DText - 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: OnPlayerText - 3DText (
/showthread.php?tid=322576)
OnPlayerText - 3DText -
Larry123 - 02.03.2012
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.
Re: OnPlayerText - 3DText -
Walsh - 02.03.2012
By using
SetPlayerChatBubble.
Example.
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 30.0, 5000); // This does it for 5 seconds.
return 1;
}
Re: OnPlayerText - 3DText -
Larry123 - 02.03.2012
Thank you