Raised This Month: $40 Target: $400
 10% 

[CS:GO] JailBreak - Be quiet, please!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Fastmancz
Senior Member
Join Date: Jul 2013
Location: Czech Republic
Plugin ID:
4971
Plugin Version:
1.5
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When speak Warden, then terrorists are silent.
    Old 12-26-2015 , 13:51   [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #1

    Descriptions:
    This is a simple plugin functioning on the basis of VoiceannounceEX & Jailbreak Warden. When speak Warden, then terrorists are silent. Silent ignore admins.

    Requeriments:
    DHooks
    VoiceannounceEX
    Jailbreak Warden

    Cvars:
    PHP Code:
    notify_type "1" -  Notification typenotify muted client when he tries speaknotify all clients when warden speaks
    Thanks for help:
    Nereziel - Helped with plugin
    Franc1sco - Ideas

    Versions:
    Code:
    V1.5 
    • Fixed - problem with comms and admin flag.
    V1.4
    • Fixed - when terrorists after death talked.
    V1.3
    • added translation for notification - (be_quiet_please.phrases).
    V1.2
    • added new cvar - notify_type (def. 1) - Notification type: 1 = notifiy muted client when he tries speak, 2 = notifiy all clients when warden speaks.
    V1.1
    • added idea "you could add a hint message for the people when the warden is talking and they will know when they are muted".
    Download:
    GitHub

    Last edited by Fastmancz; 07-21-2016 at 14:26. Reason: New version - 1.5
    Fastmancz is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-26-2015 , 13:57   Re: [CS:GO] JailBreak - Be quit, please!
    Reply With Quote #2

    Simple and clean, good release

    A suggestion: you could add a hint message for the people when the warden is talking and they will know when they are muted. Like in my captain plugin
    __________________
    Veteran SourceMod Coder
    Taking paid requests -> Add me in TELEGRAM or STEAM
    You like my work? donate me


    Last edited by Franc1sco; 12-26-2015 at 13:59.
    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    skinheadxtreme
    AlliedModders Donor
    Join Date: Jul 2013
    Old 12-26-2015 , 16:04   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #3

    Good Job mate
    skinheadxtreme is offline
    Ownkruid
    Senior Member
    Join Date: Nov 2013
    Old 12-26-2015 , 17:30   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #4

    Installed it but it ain't working. Got Dhooks VoiceannounceeX and warden installed.
    __________________





    Last edited by Ownkruid; 12-26-2015 at 17:30.
    Ownkruid is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-26-2015 , 17:39   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #5

    Change this:
    Spoiler


    To this:
    Spoiler


    And will work well. Anyway you can put it the plugin to Github like I have done and I can help you with pull request (or each other)
    __________________
    Veteran SourceMod Coder
    Taking paid requests -> Add me in TELEGRAM or STEAM
    You like my work? donate me


    Last edited by Franc1sco; 12-26-2015 at 17:42.
    Franc1sco is offline
    Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
    Cipop
    Member
    Join Date: Sep 2014
    Old 12-27-2015 , 01:11   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #6

    Hey dude check this out https://forums.alliedmods.net/showthread.php?t=257229. I made a request some time ago with the same ideia and a cool dude named nomy made something similar. Take a look!
    __________________


    Cipop is offline
    wyd3x
    Senior Member
    Join Date: Sep 2012
    Old 12-27-2015 , 03:50   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #7

    Why you don`t do this:

    PHP Code:
    //When speak Warden..
    public bool OnClientSpeakingEx(client)
    {
        if (
    warden_iswarden(client))
        {
            for (
    int i 1<= MaxClientsi++)
            {
                if(
    IsClientInGame(i))
                {
                    if (
    GetClientTeam(i) == CS_TEAM_T && GetUserAdmin(i) == INVALID_ADMIN_ID)
                    {
                        
    SetClientListeningFlags(iVOICE_MUTED);
                        
    PrintCenterText(i"Warden speaks, you have been muted.");
                    }
                }
            }
        }

    And looks great Thanks!
    __________________
    my plugins:
    deleter v2.1 || [Store] Chat Color (1.2) - csgo || [Store] Award winner team
    need a private plugin?
    contact with me: PM, EMAIL: [email protected]
    private plugins: Hunger Games, [Store] Lottery, [Store] Gamble, VIP

    Last edited by wyd3x; 12-27-2015 at 03:50.
    wyd3x is offline
    Fastmancz
    Senior Member
    Join Date: Jul 2013
    Location: Czech Republic
    Old 12-27-2015 , 06:51   New version 1.2
    Reply With Quote #8

    Version 1.2
    • Add new cvar "notify_type".
    • Corrected minor errors.
    Download:
    GitHub
    Fastmancz is offline
    Fastmancz
    Senior Member
    Join Date: Jul 2013
    Location: Czech Republic
    Old 12-27-2015 , 07:09   Re: [CS:GO] JailBreak - Be quiet, please!
    Reply With Quote #9

    Quote:
    Originally Posted by Ownkruid View Post
    Installed it but it ain't working. Got Dhooks VoiceannounceeX and warden installed.
    I tested on my server and everything works. Try new version and check if you have current version SourceMod and MetaMod + Requirements.
    __________________


    Main owner of the CMG portal.
    ---------------------------------------
    My plugins:
    [CS:GO] Panorama - Timeleft
    [CS:GO] JailBreak - Be quiet, please!

    Last edited by Fastmancz; 12-27-2015 at 07:14.
    Fastmancz is offline
    Fastmancz
    Senior Member
    Join Date: Jul 2013
    Location: Czech Republic
    Old 12-27-2015 , 08:00   New version 1.3
    Reply With Quote #10

    Version 1.3
    • added translation for notification - (be_quiet_please.phrases).
    Download:
    GitHub
    __________________


    Main owner of the CMG portal.
    ---------------------------------------
    My plugins:
    [CS:GO] Panorama - Timeleft
    [CS:GO] JailBreak - Be quiet, please!
    Fastmancz 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 23:10.


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