Textdraw or PlayerTextdraw
#1

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).
Reply
#2

Use https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw and read https://sampwiki.blast.hk/wiki/Limits
Reply
#3

....
Reply
#4

Thanks
Reply
#5

Quote:

How many global textdraws will be then created from the global textdraw limit? 1 or 500

My last question still remains.
Reply
#6

For every connected player ? if you have 500 players online so 500, 1 per player (global)
Reply
#7

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
Reply
#8

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).
Reply
#9

TextDrawShowForPlayer/TextDrawHideForPlayer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)