Raised This Month: $32 Target: $400
 8% 

[request] Mute player with immunity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
saitama19
Junior Member
Join Date: Feb 2017
Old 03-21-2023 , 21:50   [request] Mute player with immunity
Reply With Quote #1

Hello, pls someone can edit this plugin so we can mute or gag players with immunity

Last edited by saitama19; 04-07-2023 at 23:59.
saitama19 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-22-2023 , 00:00   Re: [request] Mute player with immunity
Reply With Quote #2

Simply replace all instances of "CMDTARGET_OBEY_IMMUNITY" with 0.
__________________
fysiks is offline
sb123
Senior Member
Join Date: Jan 2007
Old 05-04-2023 , 10:37   Re: [request] Mute player with immunity
Reply With Quote #3

Command description:
amx_mute <name or #userid> Mute a player's microphone
amx_unmute <name or #userid> Unmute a player's microphone
Parameter description:
amx_teamtalk 0 | 1 (default: 1) whether to open the plug-in voice control function
amx_talkhint | 2 | 3 | 1 0 (default: 1) tip type: 0 - closed, 1 - HUD, 2 - chat area, 3 - HUD + chat area
amx_talktime integer value (Default: 0) A voice control time parameter. For details, see below.

Description of the amx_talktime parameter:
When amx_talktime is 0, teammates can always hear each other (amx_teamtalk is not zero, of course).
When amx_talktime is positive, the amx_talktime seconds after the player dies,
The living teammate can hear him, and beyond that, the living teammate can't hear him
Mainly used for: When the player has just died, it can send a message to the living teammates, but it can avoid affecting the living teammates by talking all the time
When the amx_talktime is negative, the player after the death of | amx_talktime | seconds,
He cannot be heard by his living teammates, and beyond that time, he can be heard by his living teammates
Mainly used: when the player has just died, avoid the player to call, but after the time is over, can be used for tactical command, feel more useful in training

Note that the parameter sv_alltalk must be 0 or this plug-in feature will not take effect.
Attached Files
File Type: sma Get Plugin or Get Source (teamtalk.sma - 35 views - 9.9 KB)
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
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 20:10.


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