SA-MP Forums Archive
playertextdraws limits q - 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)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: playertextdraws limits q (/showthread.php?tid=598773)



playertextdraws limits q - fordawinzz - 16.01.2016

well if the wiki says 256 is the limit then if I do this

Code:
new PlayerText: TestTextdraw[MAX_PLAYERS][5];
and then I create like these textdraws for 30 players, I'll have 150, so only 106 left, right? or will only 5 tds be used?


Re: playertextdraws limits q - Pottus - 16.01.2016

It's PER PLAYER 256 * 1000 = 256,000 (1000 player server) with a MAXIMUM of 256 per player.


Re: playertextdraws limits q - Gammix - 16.01.2016

The array size is 5 for per player. So 5 textdraws for each player which leaves 251 for each.
Used: 5
Left: 251