SA-MP Forums Archive
Textdraws disappear - 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: Textdraws disappear (/showthread.php?tid=604249)



Textdraws disappear - Addons - 02.04.2016

Guys, i've a big problem. When the server reaches +30 players textdraws disappears some players (odom, logo, clock etc). Sometimes, after relog textdraw bug dissapears.

Srry for my bad english, i'm swedish.


Re: Textdraws disappear - introzen - 02.04.2016

Is this for every textdraw or for just one?


Re: Textdraws disappear - Addons - 02.04.2016

every textdraw


Re: Textdraws disappear - introzen - 02.04.2016

How many textdraws do you have in total?

According to this page: https://sampwiki.blast.hk/wiki/Limits
Maximum limit of textdraws created by the server is 2048. If this is the problem, You'll need to create 68 textdraw's for each player online, then the 31st player will not have any text-draws shown.

So, do you have that many?


Re: Textdraws disappear - Addons - 02.04.2016

I have aproximately 60 textdraws on modeinit


Re: Textdraws disappear - introzen - 02.04.2016

Quote:
Originally Posted by Addons
Посмотреть сообщение
I have aproximately 60 textdraws on modeinit
Try using a textdraw streamer to see if it solves it. Otherwise you got an array error with the playerid's.


Re: Textdraws disappear - Addons - 02.04.2016

Where I can find a td streamer?


Re: Textdraws disappear - introzen - 02.04.2016

Quote:
Originally Posted by Addons
Посмотреть сообщение
Where I can find a td streamer?
These forums. Use the search function.


Re: Textdraws disappear - Addons - 03.04.2016

i checked and i've not found anything. i don't know what to do..i lost too many players


Re: Textdraws disappear - iKevin - 03.04.2016

Click me for the streamer code.

Save this as tdstreamer.inc
Put it to your pawno/includes folder.
Add #include <tdstreamer> on the top of your script.