Textdraw help - 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: Textdraw help (
/showthread.php?tid=443793)
Textdraw help -
NoahF - 13.06.2013
How would I make a textdraw that shows the player's score and name in the bottom right corner of the screen? Not sure if I would use GetPlayerName/GetPlayerScore or something.
AW: Textdraw help -
HurtLocker - 13.06.2013
https://sampwiki.blast.hk/wiki/Format And check my tutorial for placement or download a textdraw editor.
Re: Textdraw help -
NoahF - 13.06.2013
Yes I know, but how would I put it into a textdraw?? I've never used textdraws before.
AW: Textdraw help -
Skimmer - 13.06.2013
Use PlayerTextDraw and PlayerTextDrawSetString, but don't forgot to format the string.
Of course you need use the GetPlayerScore and GetPlayerName functions.
AW: Textdraw help -
HurtLocker - 13.06.2013
If you dont use format you use this: Textdraw = TextDrawCreate(0, 0, "Fire in the hole!");
With format you use this:
pawn Код:
new score[40];
format(score, .........)
Textdraw = TextDrawCreate(0, 0, score);
It works in the same way sendclientmessage with specifiers work.