View Single Post
TiTz
Member
Join Date: Jan 2020
Old 04-20-2020 , 20:39   Re: [ALL] Command & CVAR shortcut
Reply With Quote #82

Hi,
I'm having a problem with this plugin using sm commands - sm_cvar works fine.

I'm using this on my L4D1 server sourcemod 1.10

Here's an example of my cfg:

Code:
"ChatCommand"
{
	"1"
	{
		"chat" "!xplus"
		"command" "sm_cvar infected_bots_control_limit_max 14"
		"flag"	"z"
	}
	"2"
	{
		"chat" "!sw"
		"command" "sm_spawn_wep [PLAYER_NAME]"
		"flag"	"z"
	}
	"3"
	{
		"chat" "!fl"
		"command" "sm_flare blue"
		"flag"	"z"
	}
}
Is the code above correct? as all combinations i've tried for sm commands will not work.
Am i doing something wrong? or is the plugin only functioning for sm_cvar ?

On a separate note:
I have a request for a feature - would it be possible to have an option that stops the output of the cvar or command being printed to screen?

Perhaps this plugins code could be integrated ? instead of having to use it seperatly.
[ANY] ConVar Suppression
https://forums.alliedmods.net/showthread.php?t=190902
TiTz is offline