SA-MP Forums Archive
1/15 can see textdraw then 2/15 can't... - 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)
+--- Thread: 1/15 can see textdraw then 2/15 can't... (/showthread.php?tid=454134)



1/15 can see textdraw then 2/15 can't... - RandomDude - 27.07.2013

So when I'm alone in server I can see /intro the textdraw command
But when someone joins me and they type it they can't see the textdraw neither can I...

Its not [MAX_PLAYERS] should I add that?


Re: 1/15 can see textdraw then 2/15 can't... - Kitten - 27.07.2013

Depends on the the textdraw and what's it's used for.

If the textdraw is showing some data of the player then use MAX_PLAYERS in the variable where it's defined make sure you are using TextDrawShowForPlayer and destroy the textdraws when the server shutdowns (GMX, Closing etc) On the callback OnGameModeExit