SA-MP Forums Archive
PVars and 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PVars and OnPlayerDisconnect (/showthread.php?tid=171192)



PVars and OnPlayerDisconnect - ReVo_ - 25.08.2010

Hello guys,
I'm doing a gm using PVar but I arose a doubt, is deleted in PVar automatic callback OnPlayerDisconnect before or after?


Re: PVars and OnPlayerDisconnect - Calgon - 25.08.2010

PVars are automatically deleted after OnPlayerDisconnect.


Re: PVars and OnPlayerDisconnect - Vince - 25.08.2010

From Wiki: Note: Variables aren't reset until after OnPlayerDisconnect is called, so the values are still accessible in OnPlayerDisconnect.