View Single Post
Mani
Veteran Member
Join Date: Dec 2004
Location: UK
Old 04-19-2006 , 14:56  
Reply With Quote #8

Quote:
Originally Posted by c0ldfyr3
Quote:
Originally Posted by Mani
i.e don't call gpManiTrackUser->Load() as the last thing in the Load() callback.
Im just wondering; why not...?
Because you might want to do a lookup via user id in your late loading handling. If the call to gpManiTrackUser->Load() has not happened, the array will not have been setup yet.

Same thing with ClientDisconnect(), it should be called last as you may have functionality which depends on it earlier in the ClientDisconnect() callback.

Mani
__________________
Installation files, documentation and help can be found at: -

www.mani-admin-plugin.com
Mani is offline