AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] JailBreak - Be quiet, please! (https://forums.alliedmods.net/showthread.php?t=276696)

Fastmancz 12-26-2015 12:51

[CS:GO] JailBreak - Be quiet, please!
 
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

Franc1sco 12-26-2015 12:57

Re: [CS:GO] JailBreak - Be quit, please!
 
Simple and clean, good release :up:

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

skinheadxtreme 12-26-2015 15:04

Re: [CS:GO] JailBreak - Be quiet, please!
 
Good Job mate :D

Ownkruid 12-26-2015 16:30

Re: [CS:GO] JailBreak - Be quiet, please!
 
Installed it but it ain't working. Got Dhooks VoiceannounceeX and warden installed.

Franc1sco 12-26-2015 16:39

Re: [CS:GO] JailBreak - Be quiet, please!
 
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) :)

Cipop 12-27-2015 00:11

Re: [CS:GO] JailBreak - Be quiet, please!
 
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!

wyd3x 12-27-2015 02:50

Re: [CS:GO] JailBreak - Be quiet, please!
 
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!

Fastmancz 12-27-2015 05:51

New version 1.2
 
Version 1.2
  • Add new cvar "notify_type".
  • Corrected minor errors.
Download:
GitHub

Fastmancz 12-27-2015 06:09

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

Originally Posted by Ownkruid (Post 2376579)
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.

Fastmancz 12-27-2015 07:00

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


All times are GMT -4. The time now is 21:30.

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