Textdraw help
#1

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.
Reply
#2

https://sampwiki.blast.hk/wiki/Format And check my tutorial for placement or download a textdraw editor.
Reply
#3

Yes I know, but how would I put it into a textdraw?? I've never used textdraws before.
Reply
#4

Use PlayerTextDraw and PlayerTextDrawSetString, but don't forgot to format the string.

Of course you need use the GetPlayerScore and GetPlayerName functions.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)