Skip to content

Commit

Permalink
Add simple description to TTT_OnCheckCommandAccess
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Bara committed Jun 2, 2018
1 parent e658e52 commit 167e4e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/sourcemod/scripting/include/ttt.inc
Expand Up @@ -168,6 +168,9 @@ forward Action TTT_OnPlayerDeath(int victim, int attacker);
forward void TTT_OnKarmaUpdate(int client, KarmaUpdate type, int karma);

/**
* This forward will be called when a client hasn't access to command (TTT_CheckCommandAccess)
* It's possible to give a client access to an not accessible command
* You must use 'return Plugin_Changed;' if you want to change the bool 'access'
*/
forward bool TTT_OnCheckCommandAccess(int client, const char[] command, const char[] flags, bool access);

Expand Down

0 comments on commit 167e4e0

Please sign in to comment.