SA-MP Forums Archive
Some Textdraws with timers messed up:s - 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: Some Textdraws with timers messed up:s (/showthread.php?tid=340460)



Some Textdraws with timers messed up:s - Admigo - 07.05.2012

Heey all,

I made some textdraws with timers but some are messed up. The most messed up textdraw is my Speedo.
Example:Sometimes the speedo is placed at the wrong position and has the font of another textdraw
I checked all my textdraws and i see nothing wrong with my positions.
How can i fix this?
Do i need to kill all textdraws on ongamemodeexit or onplayerdisconnect?

Thanks Admigo


Re: Some Textdraws with timers messed up:s - ViniBorn - 07.05.2012

How do you create the TextDraw?
pawn Код:
new TextDraw;
or
pawn Код:
new TextDraw[MAX_PLAYERS];



Re: Some Textdraws with timers messed up:s - Admigo - 07.05.2012

I use both of them: Shops without MAX_PLAYERS.
My Speedo with MAX_PLAYERS