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

Mute On Vote


Post New Thread Reply   
 
Thread Tools Display Modes
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 01-26-2013 , 23:06   Re: Mute On Vote
Reply With Quote #21

Quote:
Originally Posted by Dr. McKay View Post
It looks like your logic is borked in Timer_Mute. Regardless of the enable cvar's setting, the code to ungag and the code to ungag/unmute will be executed.
Version 2.2 Released

Changes:
> Fixed up some CVar bugs.
> Cached GetConVar variables.

Last edited by ReFlexPoison; 01-26-2013 at 23:10.
ReFlexPoison is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-27-2013 , 00:48   Re: Mute On Vote
Reply With Quote #22

Looks good except for one thing. In a couple places, you have for(new i = 1; i < MaxClients; i++).

The cinduction should be i <= MaxClients, as MaxClients is a valid client index.
__________________
Dr. McKay is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 01-27-2013 , 01:32   Re: Mute On Vote
Reply With Quote #23

Quote:
Originally Posted by Dr. McKay View Post
Looks good except for one thing. In a couple places, you have for(new i = 1; i < MaxClients; i++).

The cinduction should be i <= MaxClients, as MaxClients is a valid client index.
Sorry 'bout that, blame it on copy & paste. Hotfixed.
ReFlexPoison is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-27-2013 , 02:13   Re: Mute On Vote
Reply With Quote #24

Have an approval.
__________________
Dr. McKay is offline
Danger Mode
Junior Member
Join Date: Apr 2014
Location: outback australia
Old 09-27-2015 , 10:19   Re: Mute On Vote
Reply With Quote #25

is there a Cvar for time until unmmuted/unsilenced/ungagged?

Last edited by Danger Mode; 09-27-2015 at 10:19.
Danger Mode is offline
Send a message via Skype™ to Danger Mode
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 07-25-2018 , 15:50   Re: Mute On Vote
Reply With Quote #26

Could someone update this and add sourcebans++ support??
It shouldn't record the mutes on the sourcebans (comms) database. :S
Also it does sometimes mute/gag/silence them and wont ever remove it.

Last edited by Kamizun; 07-25-2018 at 17:01. Reason: Wrong information
Kamizun is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 07-27-2018 , 10:46   Re: Mute On Vote
Reply With Quote #27

Quote:
Originally Posted by Kamizun View Post
Could someone update this and add sourcebans++ support??
It shouldn't record the mutes on the sourcebans (comms) database. :S
Also it does sometimes mute/gag/silence them and wont ever remove it.
Check this:
https://forums.alliedmods.net/showthread.php?t=309462
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock 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 19:33.


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