SA-MP Forums Archive
OnPlayerDisconnect - 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: OnPlayerDisconnect (/showthread.php?tid=586610)



OnPlayerDisconnect - SumX - 23.08.2015

Hello! Is it truly neccesary to destroy / hide textdraws / progress bars / etc. at OnPlayerDisconnect? Why?


Re: OnPlayerDisconnect - Bingo - 23.08.2015

Because the player is no longer in-game or no longer connected to server :/


Re: OnPlayerDisconnect - SumX - 23.08.2015

So what happens if I won't destroy or hide them?


Re: OnPlayerDisconnect - Bingo - 23.08.2015

Quote:
Originally Posted by SumX
Посмотреть сообщение
So what happens if I won't destroy or hide them?
Well as far as i know nothing will happen IMO so, I recommend you do destroy it .

It ain't necessary but recommended.


Re: OnPlayerDisconnect - Logofero - 23.08.2015

Quote:
Originally Posted by SumX
Посмотреть сообщение
So what happens if I won't destroy or hide them?
Apocalypse course

Nothing but unnecessary load on the CPU and RAM.