TextDrawBox Proggress 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: TextDrawBox Proggress bar (
/showthread.php?tid=617201)
TextDrawBox Proggress bar -
bboytimix - 17.09.2016
hey how to make
a texdrawbox go Left and Right
with a maximum value
mmm
example
[/pawn]
if player get +10xp
XPBox = TextDrawCreate(153.00000+5, 438.000000, "_");///maximum value = 193.000000 , minimum value = 153.000000
if player get +10xp
TextDrawTextSize(XPBox, 454.000000, 4.000000+10);
[pawn]
make it same as proggresbar but grow by going |<LEFT<->RIGHT>|
Re: TextDrawBox Proggress bar -
asto63 - 17.09.2016
Like that ?
https://sampforum.blast.hk/showthread.php?tid=537468
Re: TextDrawBox Proggress bar -
bboytimix - 17.09.2016
Quote:
Originally Posted by asto63
|
yes something like this
but make two bars
1-left
2-right
make them a 1 bar that goes left and right in the same time
Re: TextDrawBox Proggress bar -
asto63 - 17.09.2016
Just look at the code of this include, u will find your answer.
Re: TextDrawBox Proggress bar -
bboytimix - 17.09.2016
like
minimum value = 0
[_____l_____]
middle value = 50
[___lllllllllll___]
maximum value = 100
[lllllllllllllllllllllllllllll]