HolyLib Wiki

HolyLib:OnClientExecuteStringCommand

 boolean HolyLib:OnClientExecuteStringCommand( CGameClient client, string command )

Description

Called before the engine executes a string command sent by a client, see CBaseClient:ExecuteStringCommand.

Arguments

1CGameClient client

The client that sent the command

2string command

The command string

Returns

1boolean skip = false

Return true to stop the engine from executing the command.