Raised This Month: $ Target: $400
 0% 

[REQ] Disable CS:GO Global Mute


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hijacked
New Member
Join Date: Aug 2021
Old 08-21-2021 , 06:46   [REQ] Disable CS:GO Global Mute
Reply With Quote #1

Hello,

im searching for a long time for this, but I didn't found anything.

Is it possible to remove a mute punishment from CS:GO on my Community Server?

Thank you guys
hijacked is offline
FAQU
Member
Join Date: Sep 2020
Location: Romania
Old 08-21-2021 , 08:41   Re: [REQ] Disable CS:GO Global Mute
Reply With Quote #2

I assume you're talkin about the automatic mute issued by Valve.

sm_cvar sv_mute_players_with_social_penalties 0
__________________
FAQU is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: m_bTeamKiller
Old 08-29-2021 , 17:56   Re: [REQ] Disable CS:GO Global Mute
Reply With Quote #3

This is a plugin that simply just disables the development-only flag for the cvar, allowing you to change it without needing 'sm_cvar' command to change the cvar's value.

PHP Code:
#pragma        semicolon    1
#pragma        newdecls    required

public    Plugin    myinfo    =
{
    
name        =    "[CS:GO] sv_mute_players_with_social_penalties Cvar Unlock",
    
author        =    "https://steamcommunity.com/id/Teamkiller324",
    
description    =    "Unlocks the cvar",
    
version        =    "0.1",
    
url            =    "https://steamcommunity.com/id/Teamkiller324"
}

public 
void OnPluginStart()
{
    if(
GetEngineVersion() != Engine_CSGO)
    {
        
ThrowError("CS:GO Only");
    }
    
    
ConVar cvar FindConVar("sv_mute_players_with_social_penalties");
    
    
int flags cvar.Flags;
    
    
flags &= ~FCVAR_DEVELOPMENTONLY;
    
    
cvar.Flags flags;

Attached Files
File Type: sp Get Plugin or Get Source (sv_mute_players_with_social_penalties.sp - 112 views - 600 Bytes)
__________________
Steam - GitHub - Tk Libraries - Updater
No private plugin requests.

Last edited by Teamkiller324; 08-29-2021 at 17:57.
Teamkiller324 is offline
Send a message via Skype™ to Teamkiller324
hijacked
New Member
Join Date: Aug 2021
Old 08-30-2021 , 11:42   Re: [REQ] Disable CS:GO Global Mute
Reply With Quote #4

Thank you both for helping me
hijacked is offline
Reply


Thread Tools
Display Modes

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 09:55.


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