Thread
Connect Events Order (OnClientAuthorized), and especially
Post #4 gives some insight about the different OnClient* procedures.
From
OnClientPutInServer:
Quote:
Whether a client has a steamid is undefined until OnClientAuthorized is called, which may occur either before or after OnClientPutInServer. Similarly, use OnClientPostAdminCheck() if you need to verify whether connecting players are admins.
|
From
OnClientAuthorized:
Quote:
Called when a client receives an auth ID. The state of a client's authorization as an admin is not guaranteed here. Use OnClientPostAdminCheck() if you need a client's admin status.
|
If you have any specific things to do, or need to make e sure a Steam ID is what it really is, like you say (for bans), I suggest moving to
OnClientPostAdminCheck.
The quotes from above in crystal clear English: "Use OnClientPostAdminCheck if you need to rely on a player's authentication with Steam".
That one is also called automatically, so if I join your server at 10:00, but doesn't authenticate 100%, it will be called automatically on 10:05 when the Steam servers are back up (or your server's connection to the Steam servers are back up).
__________________