TextDrawShowForPlayer upon logout??? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TextDrawShowForPlayer upon logout??? (
/showthread.php?tid=148429)
TextDrawShowForPlayer upon logout??? -
cAMo - 17.05.2010
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?
Re: TextDrawShowForPlayer upon logout??? -
[HiC]TheKiller - 17.05.2010
I'm not fully sure, but I'd destroy them on OnPlayerDisconnect, not hide them. There is a limit to textdraws =].
Re: TextDrawShowForPlayer upon logout??? -
cAMo - 17.05.2010
Is TD_Destroy(text); supported by default?
Re: TextDrawShowForPlayer upon logout??? -
DJDhan - 17.05.2010
Yes it is. It's called
Код:
TextDrawDestroy(text);