From Official DarkRP Wiki
|Hook name||canChatCommand(Player ply, string command, string arguments)|
|Called when a player tries to run any chat command or uses the DarkRP console command.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canChatCommand]canChatCommand hook[/url][/b]|
- ply (Player)
- command (string)
- arguments (string)
The player who spoke.
The thing they said.
The arguments of the chat command, given as one string.
- canChatCommand (boolean)
Whether the player is allowed to run the chat command.