Textdraw with functions? - 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: Textdraw with functions? (
/showthread.php?tid=213679)
Textdraw with functions? -
Face9000 - 19.01.2011
Hi all,i maked some textdraw and i wanna show some stats like kills,deaths,how to?
Re: Textdraw with functions? -
Sascha - 19.01.2011
pawn Код:
new string[256];
format(string, sizeof(string), "Name. %s, Level: %d, Kills: %d, Deaths: %d, Score: %d", name, level, kills, deaths, score);
TextDrawSetString(yourtextdraw, string);
I guess you know how to get those variables... and I guess you also know how to make the textdraw appear...
Re: Textdraw with functions? -
Face9000 - 19.01.2011
Yes,thanks a lot.
Re: Textdraw with functions? -
Sascha - 19.01.2011
no problem