Description
Called when a CHLTVClient sends a command.
Arguments
2string commandthe executed command
3table argstable containing all arguments
4string argStringarguments as a single string
Returns
1boolean handledReturn true
if the command as handled in lua
Example
hook.Add(
"HolyLib:OnSourceTVCommand",
"Example",
function(client, name, args, argString)
if name ==
"Example" then
client:
ClientPrint(
"Hello World from HLTVServer\n")
return true
end
end)