View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-27-2015 , 16:42   Re: [TF2] ActionProtect
Reply With Quote #47

Quote:
Originally Posted by sglee241 View Post
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);
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline