Quote:
Originally Posted by sglee241
can somebody compile into linux version?
|
SourceMod 1.8 can now intercept CommandKeyValues directly.
However, I don't think anyone has written a plugin for it yet.
Code:
/**
* Called when a client is sending a KeyValues command.
*
* @param client Client index.
* @param kv Editable KeyValues data to be sent as the command.
* (This handle cannot be closed.)
* @return Plugin_Handled blocks the command from being sent,
* and Plugin_Continue resumes normal functionality.
*/
forward Action OnClientCommandKeyValues(int client, KeyValues kv);
/**
* Called after a client has sent a KeyValues command.
*
* @param client Client index.
* @param kv KeyValues data sent as the command.
* (This handle cannot be closed.)
* @noreturn
*/
forward void OnClientCommandKeyValues_Post(int client, KeyValues kv);
__________________