CommandReact executes commands server-side when a client runs a certain command.
Here's an example (And why I created this plugin): With Mani Admin plugin, you can run ma_knives
in order to restrict all weapons and let players only use their knives. However, the only way to take this off is to use ma_unrestrictall
, which unrestricts all weapons. Since I have the AWP and autosnipers restricted, unrestricting all weapons means restricting these weapons after every knife round. Well, I don't remember those things. So I made an entry in the config file that runs three commands when ma_unrestrictall
is executed somewhere:
ma_unrestrictall ma_restrict awp;ma_restrict sg550;ma_restrict g3sg1
is run, so are those ma_restrict
Note - This does not work for some commands. The ones that may apply to you are "say" and "say_team"
- The version of CommandReact
- Reloads the configuration file for CommandReact.
- Initial Release
- React to user's commands
As with all my other plugins, I've included the source file and all the necessary config, along with a packaged version that you can extract to your mod directory (in .rar and .zip format).
And thanks to everyone who helped in the #sourcemod channel...pRED, EKS, dalto, etc...