Add support for listening to, blocking, changing, and faking ClientCommandKeyValues.

This commit is contained in:
Nicholas Hastings
2015-07-12 13:14:46 -04:00
parent 705b5d3f5f
commit c85cc5cbf7
7 changed files with 239 additions and 11 deletions
+11
View File
@@ -190,6 +190,17 @@ native FakeClientCommand(client, const String:fmt[], any:...);
*/
native FakeClientCommandEx(client, const String:fmt[], any:...);
/**
* Executes a KeyValues client command on the server without being networked.
*
* @param client Index of the client.
* @param kv KeyValues data to be sent.
* @noreturn
* @error Invalid client index, client not connected,
* or unsupported on current game.
*/
native void FakeClientCommandKeyValues(int client, KeyValues kv);
/**
* Sends a message to the server console.
*