Thread: move to trash
View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-19-2019 , 21:51   Re: Any
Reply With Quote #3

PHP Code:
#include <sourcemod>
#include <basecomm>

public void OnClientPostAdminCheck(int client)
{
    if (!
CheckCommandAccess(client"allow_user_to_talk"ADMFLAG_ROOT))
        
BaseComm_SetClientMute(clienttrue);

Very simple code, mutes all that doesn't hold the "allow_user_to_talk" override.


Or if you got a forum running for your community, you can require them to register (and link Steam account to their profile):

-> [ANY] Registered User Voice Enabler


(Edit: ... also fixed your title)
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 08-19-2019 at 21:52.
DarkDeviL is offline