16.04.2011, 10:19
Hey guys, i decided to make a progress bar although i got confused on how to do it.
I was thinking about setting a timer for a player that repeats every 1 second and in that 1 second
it'll decrease the boxes width.
so like
As you can see it decreased its box by -2 of the actual width of the box (X - 2)
Now you see what im having trouble is with decreasing the X co-ordinate,
because its not like GetPlayerPos
Where you can go X-2 and over and over again since it saves that wont work.
ermm, i hope you get me, Thanks.
I was thinking about setting a timer for a player that repeats every 1 second and in that 1 second
it'll decrease the boxes width.
so like
Код:
When the timers started: --------------------------------------- - ||||||||||||||||||||||||||||||||||| - - ||||||||||||||||||||||||||||||||||| - --------------------------------------- When the one second pasted: --------------------------------------- - |||||||||||||||||||||||||||||||||| - - |||||||||||||||||||||||||||||||||| - ---------------------------------------
Now you see what im having trouble is with decreasing the X co-ordinate,
because its not like GetPlayerPos
Where you can go X-2 and over and over again since it saves that wont work.
ermm, i hope you get me, Thanks.