13.06.2013, 20:40
Hello, since 2010 i script this language, but i still have problems on TextDraw Limits.
The first question is if i create a player textdraw for each player doesn't it crash the server after 6 slots?
I always used my own definition called MAX_SLOT and it has the value 25 for 25 slots.
Same about the Global Textdraw.
But the limit is 2048.
Why do i ask this? Because i see a lot of servers using more textdraws.
Well, i created my own INCLUDE and it allows to destroy the old textdraw and create the new one and it works fine. But i want know is that possible or not?
The first question is if i create a player textdraw for each player doesn't it crash the server after 6 slots?
pawn Код:
new PlayerText:g_Main[MAX_PLAYERS]; // 500 players, but the limit is 256
I always used my own definition called MAX_SLOT and it has the value 25 for 25 slots.
Same about the Global Textdraw.
pawn Код:
new Text:g_Global1[MAX_PLAYERS]; // 500
new Text:g_Global2[MAX_PLAYERS]; // 500
new Text:g_Global3[MAX_PLAYERS]; // 500
new Text:g_Global4[MAX_PLAYERS]; // 500
new Text:g_Global5[MAX_PLAYERS]; // 500
Why do i ask this? Because i see a lot of servers using more textdraws.
Well, i created my own INCLUDE and it allows to destroy the old textdraw and create the new one and it works fine. But i want know is that possible or not?