SA-MP Forums Archive
OnPlayerText [HELP - ABOUT ABOVE HEAD] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerText [HELP - ABOUT ABOVE HEAD] (/showthread.php?tid=276554)



OnPlayerText [HELP - ABOUT ABOVE HEAD] - lyrics - 14.08.2011

Hey hey hey i want when player rights something like

Код:
[SP]Mr.Kakashi[WP] : Blah Blah Blah
On their above head it would be write something like

Код:
Says : Blah Blah Blah
Can someone give a code of this?


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - Darnell - 14.08.2011

Try using TextDraws.
EDIT:
Try this.
pawn Код:
say[playerid] = Create3DTextLabel("Says: ", 0xE10000FF, 30.0, 40.0, 10.0, 40.0, 0);
        Attach3DTextLabelToPlayer(say[playerid], playerid, 0.0, 0.0, 0.7);
It's the not the full code, since I don't know how to do it, maybe a better scripter knows.


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - lyrics - 14.08.2011

I saw on some gamemode it doesnt using a textdraw


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - Kush - 14.08.2011

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Try using TextDraws.
EDIT:
Try this.
pawn Код:
say[playerid] = Create3DTextLabel("Says: ", 0xE10000FF, 30.0, 40.0, 10.0, 40.0, 0);
        Attach3DTextLabelToPlayer(say[playerid], playerid, 0.0, 0.0, 0.7);
It's the not the full code, since I don't know how to do it, maybe a better scripter knows.
What.....?

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - PrawkC - 14.08.2011

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
edit: late


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - Darnell - 14.08.2011

I fail :\.


Re: OnPlayerText [HELP - ABOUT ABOVE HEAD] - lyrics - 14.08.2011

Quote:
Originally Posted by Kush
Посмотреть сообщение
Quote:
Originally Posted by PrawkC
Посмотреть сообщение
Thanks Both of you