View Full Version : Textdraw help

13/06/2013, 09:50 PM
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.

13/06/2013, 09:51 PM
http://wiki.sa-mp.com/wiki/Format And check my tutorial for placement or download a textdraw editor.

13/06/2013, 09:52 PM
Yes I know, but how would I put it into a textdraw?? I've never used textdraws before.

13/06/2013, 09:53 PM
Use PlayerTextDraw and PlayerTextDrawSetString, but don't forgot to format the string.

Of course you need use the GetPlayerScore and GetPlayerName functions.

13/06/2013, 09:55 PM
If you dont use format you use this: Textdraw = TextDrawCreate(0, 0, "Fire in the hole!");
With format you use this:
new score[40];
format(score, .........)
Textdraw = TextDrawCreate(0, 0, score);
It works in the same way sendclientmessage with specifiers work.