View Single Post
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-08-2015 , 14:40   Re: SourceMod Development Roundup (1.7.2 - 03/11/15)
#22

Quote:
Originally Posted by Chdata View Post
There were rare scenarios where it's uninitialized and you never noticed, maybe it was only uninitialized for the very first plugin that loaded which may have happened not to need it. That's just a guess though. But I've always done things in OnMapStart, since I heard that, and it always fires after OnPluginstart anyway.
I personally used it to loop connected clients to handle late-load situations. If it's not a late-load, then MaxClients was 0, in which case the loop wouldn't run (nor would it need to). In all other situations, MaxClients would be its true value and the loop would run as expected.
__________________
Dr. McKay is offline