Update OnClientAuthorized function doc

This commit is contained in:
Nicholas Hastings 2014-09-09 17:56:29 -07:00
parent 9e6fcc7673
commit 775a35c5ab
2 changed files with 3 additions and 3 deletions

View File

@ -154,14 +154,14 @@ forward Action:OnClientCommand(client, args);
forward void OnClientSettingsChanged(client); forward void OnClientSettingsChanged(client);
/** /**
* Called when a client receives a Steam ID. The state of a client's * Called when a client receives an auth ID. The state of a client's
* authorization as an admin is not guaranteed here. Use * authorization as an admin is not guaranteed here. Use
* OnClientPostAdminCheck() if you need a client's admin status. * OnClientPostAdminCheck() if you need a client's admin status.
* *
* This is called by bots, but the ID will be "BOT". * This is called by bots, but the ID will be "BOT".
* *
* @param client Client index. * @param client Client index.
* @param auth Client auth string. * @param auth Client Steam2 id, if available, else engine auth id.
* @noreturn * @noreturn
*/ */
forward void OnClientAuthorized(client, const String:auth[]); forward void OnClientAuthorized(client, const String:auth[]);

View File

@ -365,7 +365,7 @@ namespace SourceMod
* @brief Called when a client has received authorization. * @brief Called when a client has received authorization.
* *
* @param client Index of the client. * @param client Index of the client.
* @param authstring Authorization string. * @param authstring Client Steam2 id, if available, else engine auth id.
*/ */
virtual void OnClientAuthorized(int client, const char *authstring) virtual void OnClientAuthorized(int client, const char *authstring)
{ {