OnPlayerDisconnect
#2

What is up with people posting questions like this? All weirdly styled and everything.

You can update variables in onPlayerDisconnect as it is called right before a player quits. However, if the reason is a crash or timeout, your variables might return wrong values.

Resetting variables to a starting value without saving it, is perfectly fine in OnPlayerConnect.
Reply


Messages In This Thread
OnPlayerDisconnect - by BossArturKA - 09.06.2015, 18:58
Re: OnPlayerDisconnect - by mamorunl - 10.06.2015, 08:49
Re: OnPlayerDisconnect - by BossArturKA - 10.06.2015, 20:37

Forum Jump:


Users browsing this thread: 2 Guest(s)