Little textdraw question - 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: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little textdraw question (
/showthread.php?tid=78340)
Little textdraw question -
Remi-X - 19.05.2009
About textdraws for players. If I make a textdraw on playerid, (Text:Name[MAX_PLAYERS]; ), how does SA:MP count that?
Because I have 6 textdraws, each for only one player. If SA:MP count each of that textdraws, I can have max 166 players on my server, or am I fault?
BTW:, maybe another question, is it confesses how much texdraws SA:MP 0.3 can have?
Re: Little textdraw question -
Remi-X - 20.05.2009
nobody knows?
Re: Little textdraw question -
Joe Staff - 20.05.2009
Text:name[MAX_PLAYERS] is creating 200 variables.
name[0]=TextDrawCreate is creating a textdraw
TextDrawDestroy(name[0]) is removing a textdraw
The SA-MP server, as it stands, can only create 1024. NOT 1024 per player, but 1024 in total, even if it isn't being shown to a player. It will not increase if SA-MP 0.3 is released, unless it's an after though. (I have asked Kye if it he would increase the textdraw amount to help my pixel script
Pixels by Textdraws, he said no)
Re: Little textdraw question -
Remi-X - 20.05.2009
Okay, tanks. But I have a solution: Only for the first 150 playerid's can see textdraws. Above, they get a message that the server is too busy to show the textdraws.
But tanks for complaining
And maybe a idea for SA:MP 0.3: TextDrawSetStringForPlayer(playerid, "message");
That would be a great idea for my problem, and I think also for a lot of other servers
Where can i post some ideas for SA:MP 0.3? This would be a seriously good idea I think so