SA-MP Forums Archive
Progress Bar - 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: Progress Bar (/showthread.php?tid=462626)



Progress Bar - Mattakil - 07.09.2013

I want to make a "Progress Bar" using a textdraw, or a function to show some player stats, is there a way to create a textdraw, and make it so that the string can be different than all other players. I know there is an include, that I did try..but when I attempt to use one of their functions, my compiler crashes :S Please get back as soon as possible

WILL +REP


Re: Progress Bar - Eyce - 07.09.2013

You can use PlayerTextDrawSetString for the player stats. And for the progress bar, it depends on the coordinates of your text-draw, so if ever there's progress - it should be proportion to the change of size on the text-draw.

Here's a great text-draw editor in-game from Zamaroht:
Zamaroht's Textdraw Editor v1.0


Re: Progress Bar - XcorelloX - 08.09.2013

You might be interested in this:

[INC] Progress Bar