Raised This Month: $51 Target: $400
 12% 

[CS:GO] Disable map sm_say


Post New Thread Reply   
 
Thread Tools Display Modes
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-14-2016 , 19:21   Re: [CS:GO] Disable map sm_say
Reply With Quote #11

If sm_say is 0 in bspconvar_whitelist.txt, then the map is not using sm_say. Is sm_rcon whitelisted? Could be using sm_rcon sm_say or sm_rcon say.

What map is causing this issue that these plugins aren't helping you with?
__________________

Last edited by sneaK; 12-14-2016 at 19:22.
sneaK is offline
Sw00p
Member
Join Date: Nov 2013
Location: Sweden
Old 12-15-2016 , 07:39   Re: [CS:GO] Disable map sm_say
Reply With Quote #12

Quote:
Originally Posted by blackhawk74 View Post
If sm_say is 0 in bspconvar_whitelist.txt, then the map is not using sm_say. Is sm_rcon whitelisted? Could be using sm_rcon sm_say or sm_rcon say.

What map is causing this issue that these plugins aren't helping you with?
Many minigame maps are using "say" AND "sm_say".

edit: nvm, looks like the problem is when they use "say @message" instead of "say message"
__________________

Last edited by Sw00p; 12-15-2016 at 08:49.
Sw00p is offline
Send a message via Skype™ to Sw00p
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-22-2017 , 12:46   Re: [CS:GO] Disable map sm_say
Reply With Quote #13

Quote:
Originally Posted by R3TROATTACK View Post
This should work

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#pragma newdecls required

public void OnPluginStart()
{
    
AddCommandListener(Listener_Say"sm_say");
}

public 
Action Listener_Say(int client, const char[] commandint argc)
{
    if(
client == 0)
        return 
Plugin_Handled;
        
    return 
Plugin_Continue;

tried this but still don't work for this map

mg_swag_multigames_v7

how is map able to use sm_say when i don't even have sm_say in bspconvarwhitelist?

or maybe this map is not using sm_say to output message?
__________________
8guawong is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-23-2017 , 08:40   Re: [CS:GO] Disable map sm_say
Reply With Quote #14

erm its definetly triggerd by sm_say

Code:
L 11/22/2017 - 20:02:05: [mapconfigs.smx] Searching specific configs for mg_swag_multigames_v7
L 11/22/2017 - 20:02:05: [mapconfigs.smx] Executing map specific config: mg_.cfg
L 11/22/2017 - 20:02:49: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] HEADSHOT PISTOL)
L 11/22/2017 - 20:02:53: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MUSIC] Watsky- Never Let it Die)
L 11/22/2017 - 20:03:14: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] AFK KILLER IMMINENT)
L 11/22/2017 - 20:03:46: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] SURVIVAL)
L 11/22/2017 - 20:03:46: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] Game starting in 10 seconds..)
L 11/22/2017 - 20:03:50: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MUSIC] Kid Cudi - Pursuit Of Happiness ft. MGMT)
L 11/22/2017 - 20:03:51: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] Game starting in 5 seconds..)
L 11/22/2017 - 20:03:56: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text [MAP] YELLOW - 8 seconds)
__________________
8guawong is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode