Posts: 223
Threads: 64
Joined: Feb 2010
Reputation:
0
What is the difference between a player text-draw and a global text-draw?
If I were trying to create a menu out of textdraws that would show for the player everytime they press a certain button, should I use global or player textdraws? The menu will be the same for the majority of players.
Posts: 973
Threads: 10
Joined: Sep 2012
Reputation:
0
I'd go with player textdraw if it differs for each player, if it's the same for all a global one.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Another advantage is that you can have 256 player-textdraws per player, as opposed to the global limit of 2048, allowing you to 'bypass' the limit. The fact that only 92 textdraws can be displayed at a time mean it's more than enough,
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
You CAN add a [playerid] tag to global text-draws if you really wanted to. However, it's quite pointless since you'll never need to have 256 text-draws actually loaded 100% of the time a player is on the server. I add/remove text-draws for my players depending on when I need them.