TextDrawSetString automatic update question
#9

Quote:
Originally Posted by Grim_
View Post
Just create a textdraw for each player?
max textdraws = 2048
if you have 200 players on a server:

2048/200= 10 textdraws ... and that's it
isn't that a little stupid? creating every textdraw 200 times, just because they changed the way TextdrawSetString works?

IMO they should change it back the way it was, no automatic update
and if people really want them to autoupdate, they can simply add something like this:

Code:
TextdrawSetStringEx(Text:Textdraw, String)
{
    TextdrawSetString ..
    TextdrawHideForAll....
    TextdrawShowForAll..
}


if you don't understand what I mean with "you can use just 1 textdraw to display a textdraw for every player with a different string":
example:
when I set the string of a textdraw, for playerid 0 to: "Your score: 110"
and then I set the string of that same textdraw (for playerid 1) to: "Your score: 596" and I update it for playerid 1

the score for the first player (id 0) won't change because, for that player, the textdraw isn't updated



-> As long as I don't update the textdraw for a player, it won't change, even if the string has been changed for another player
So you could just use 1 simple textdraw instead of 200 textdraws (1 for every player)




Please Kye or any other developer, have a little thought about this and please change it back the way it was
Reply


Messages In This Thread
TextDrawSetString automatic update question - by ғαιιοцт - 10.07.2010, 18:39
Re: TextDrawSetString automatic update question - by zallomallo - 10.07.2010, 19:57
Re: TextDrawSetString automatic update question - by ғαιιοцт - 10.07.2010, 20:03
Re: TextDrawSetString automatic update question - by Grim_ - 10.07.2010, 23:01
Re: TextDrawSetString automatic update question - by Maggi - 11.07.2010, 08:07
Re: TextDrawSetString automatic update question - by Simon - 11.07.2010, 08:30
Re: TextDrawSetString automatic update question - by Maggi - 11.07.2010, 08:48
Re: TextDrawSetString automatic update question - by Grim_ - 11.07.2010, 08:54
Re: TextDrawSetString automatic update question - by ғαιιοцт - 11.07.2010, 08:54
Re: TextDrawSetString automatic update question - by WackoX - 11.07.2010, 08:58
Re: TextDrawSetString automatic update question - by Grim_ - 11.07.2010, 09:02
Re: TextDrawSetString automatic update question - by ғαιιοцт - 11.07.2010, 09:07
Re: TextDrawSetString automatic update question - by Grim_ - 11.07.2010, 09:12
Re: TextDrawSetString automatic update question - by ғαιιοцт - 11.07.2010, 09:17
Re: TextDrawSetString automatic update question - by Maggi - 11.07.2010, 09:53
Re: TextDrawSetString automatic update question - by Simon - 11.07.2010, 09:54
Re: TextDrawSetString automatic update question - by Maggi - 11.07.2010, 10:04
Re: TextDrawSetString automatic update question - by ғαιιοцт - 11.07.2010, 10:15
Re: TextDrawSetString automatic update question - by Simon - 11.07.2010, 10:33
Re: TextDrawSetString automatic update question - by ғαιιοцт - 11.07.2010, 10:40
Re: TextDrawSetString automatic update question - by Maggi - 11.07.2010, 11:34

Forum Jump:


Users browsing this thread: 5 Guest(s)