View Single Post
pRED*
Join Date: Dec 2006
Old 01-01-2008 , 01:03   Re: IP based reserved slots + free reserve slots
Reply With Quote #5

Quote:
Originally Posted by Gruzilkin View Post
I think that assigning user flags BEFORE OnClientPreAdminCheck would be more appropriate and will allow plugins to change user flags
Uhh.. What?

The Admin Check is when SourceMod assigns flags. The two forwards (pre and post) occur before and after this. If you assigned admin flags beforehand it wouldn't be 'Pre' any more...

OnClientPreAdminCheck can be used to override flags settings, this is what the threaded sql plugin does. But in your case you want to wait until normal flags have been assigned and add an extra one. So you have to wait until OnClientPostAdminCheck, but still guarantee to be ahead of reservedslots.smx.
pRED* is offline