Raised This Month: $138 Target: $400
 34% 

Any - No Perm No Mic


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 08-19-2019 , 12:43   Any - No Perm No Mic
Reply With Quote #1

forgot to complete the title
Any - No Perm No Mic

I need some "If player don't have this perms, can't use microphone in-game" script.
Can anyone have like this?

Last edited by DarkDeviL; 08-19-2019 at 21:52.
GoGetSomeSleep is offline
Pilo
AlliedModders Donor
Join Date: Jan 2019
Location: Israel
Old 08-19-2019 , 12:49   Re: Any
Reply With Quote #2

Contact me on discord : Pilo#8253
__________________

Taking Private(PAID) Plugins In PM
Feel free to Donate with PayPal
Feel free to message me in Discord Pilo#8253
Total donated : 25$
Pilo is offline
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
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 07:31.


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