TextDrawShowForPlayer upon logout???
#1

When the server automatically kicks a player (ie: failed logins), I want it to produce TextDraws explaining why the user was kicked for the user to see instead of plain text.

TextDrawShowForPlayer

Q: If I create text draws for a player when he/she leaves my server, do I need to hide them?
Q: If I don't hide them, will a new player with the same playerid see them upon connecting?
Reply
#2

I'm not fully sure, but I'd destroy them on OnPlayerDisconnect, not hide them. There is a limit to textdraws =].
Reply
#3

Is TD_Destroy(text); supported by default?
Reply
#4

Yes it is. It's called
Код:
TextDrawDestroy(text);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)