Posts: 198
Threads: 56
Joined: Aug 2009
Reputation:
0
Which one of them should I use when a player enters a bank. A timer for 5 seconds is then set to destroy the textdraw. If I use Global textdraw, I'll have to add [MAX_PLAYERS] array. How many global textdraws will be then created from the global textdraw limit? 1 or 500(max players).
Posts: 2,593
Threads: 34
Joined: Dec 2007
Posts: 2,593
Threads: 34
Joined: Dec 2007
For every connected player ? if you have 500 players online so 500, 1 per player (global)
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
If its only a static textdraw = always the same text, you only need one global
Otherwise for dynamic textdraw you should use per player textdraws
Posts: 198
Threads: 56
Joined: Aug 2009
Reputation:
0
What if the text is static but the timing of hiding and closing is dynamic, different for players. The textdraw is showed and then there is a 5 second timer to hide the textdraw. if there are 2 players who see the textdraws within the timer's timeframe the first person's timer will not hide (when I'm using global textdraw, without MAX_PLAYERS).
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
TextDrawShowForPlayer/TextDrawHideForPlayer.