12.08.2012, 19:59
Quote:
Hi guys!
One simple question: I have a textdraw, which is shown for all players all the time. Now is it better to do TextDrawShowForPlayer when he connects and then TextDrawHideForPlayer when he disconnect, or is it better to do TextDrawShowForAll in OnGameModeInit?? Also, when I use TextDrawSetString, do I have to use TextDrawShowForPlayer to update it or it will update automaticlly? |
When you use TextDrawSetString it automatically updates the TextDraw and there will be no need to update it with showing.
Secondly, about showing for all, I personally use TextDrawShowForPlayer in OnPlayerConnect and then hide it in OnPlayerDisconnect. I haven't experimented TextDrawShowForAll in GameModeInit yet (being honest).