splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

chat command to enable/disable mod #150

Closed simba93 closed 6 years ago

simba93 commented 6 years ago

I know its possible to use the sm_retakes_enabled command in the console to enable/disable the mod but is there a way to allow my team to use something like !retakes enable/disable in the chat to enable/disable the mod?

Regards

splewis commented 6 years ago

You could add entries to the !admin menu, like in https://wiki.alliedmods.net/Custom_Admin_Menu_(SourceMod)#Example_Command

But I don't intend on adding any extra commands for this.