Text over the player name.. - 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: Text over the player name.. (
/showthread.php?tid=346942)
Text over the player name.. -
Dr0gIraN - 30.05.2012
Hello!I would like to ask whether it can put text over the player name and if possible how it works ..
Re: Text over the player name.. -
TheDominator - 30.05.2012
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Re: Text over the player name.. -
FalconX - 30.05.2012
Quote:
Originally Posted by TheDominator
|
Yes, you can use "
Attach3DTextLabelToPlayer" and as well as "
SetPlayerChatBubble". Following is an example of SetPlayerChatBubble:-
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000); //everything what player types will be also shown on the player's head.
return 1;
}
![Smiley](images/smilies/smile.png)
FalconX
Re: Text over the player name.. -
MP2 - 30.05.2012
SetPlayerChatBubble*