Count Down Textdraw bug
#2

You should create the textdraw once, and update it every second.
You're just creating new ones on top of the others, which are never destroyed.

Create the textdraw in your command and store it's ID in an array.
Then use PlayerTextDrawSetString to update it inside your timer.

Also, when the timer reaches 0, use KillTimer to stop counting down, otherwise it will keep running forever.
Reply


Messages In This Thread
Count Down Textdraw bug - by TheINCDope - 01.12.2014, 13:59
Re: Count Down Textdraw bug - by PowerPC603 - 01.12.2014, 14:10
Re: Count Down Textdraw bug - by TheINCDope - 01.12.2014, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)