Update OnClientAuthorized function doc
This commit is contained in:
parent
9e6fcc7673
commit
775a35c5ab
@ -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[]);
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user