[ANY] MuteCheck
[ANY] MuteCheck v1.9.2 Description: This simply shows who has muted a specific player via the game's mute button. This has only been tested in TF2, but it should work in any Source game. By default anyone is allowed to type sm_mutecheck and it'll display who has muted you. Admins with the flag ADMFLAG_GENERIC can also type sm_mutecheck [target] to check who's muted the specific target. The admin flag can be overridden with the override below. Commands: sm_mutecheck - responds with who has muted you sm_mutecheck [target] - responds with who has muted the target Cvars: sm_mutecheck_tag "[SM]" - allows you to change the tag prepended to Mutecheck responses sm_mutecheck_version - plugin version sm_mutecheck_auto_update "1" - enables automatic updating (has no effect if Updater is not installed) Installation: Put mutecheck.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load mutecheck" into your console or rcon. Overrides: sm_mutecheck_override - Add this to your overrides to change the flag required to check the mutes for a specific target Auto Update: Install Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater. Changelog:
Download Plugin (mutecheck.smx) View Source (mutecheck.sp) |
Re: [ANY] MuteCheck
this could be useful :)
|
Re: [ANY] MuteCheck
An option to know all players / a team if they muted you could be nice too (i.e. you display only those who muted you).
|
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Sorry kind-of tired.
You could add the following options :
i.e. : sm_mutecheckteam t --> "Bob, Jack and Dick muted you." |
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
wtf I read too quickly... nevermind me...
|
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Plugin updated to version 1.1, added auto update!
|
Re: [ANY] MuteCheck
Nice idea. Some notes:
The boolean tag is lowercase in sourcepawn. "bool:" instead of "Bool:". When using #tryinclude, make sure to mark the autoupdate natives as optional in askpluginload2 to have the plugin compile if the include fails. PHP Code:
Consider using FindTarget to allow a single target only. For performance reasons, don't declare new variables in a loop, but do it beforehand. |
All times are GMT -4. The time now is 08:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.