Aside from no documentation on how to use this. I can't get it to fire when a player leaves. The only example I found was in the Area plugin. From that I've made my own function for my upcoming plugin (Note: I removed everything inside the function for clarity and readability.)

function ZonePlugin:OnDisconnect(Reason, Player)

return false

Is this correct? If so, is it suppose to fire every time a player leaves? Because It doesn't. I put debug logging lines in and they don't appear. Functions are never called when they are inside. Please help as this is a very important part for databasing and clearing unwanted variables!
Thanks given by:

Messages In This Thread
OnDisconnect - by Revolucas - 03-15-2011, 08:12 AM
RE: OnDisconnect - by FakeTruth - 03-17-2011, 04:28 AM
RE: OnDisconnect - by Revolucas - 03-17-2011, 06:26 AM

Users browsing this thread: 1 Guest(s)