View Single Post
Author Message
dr_lex
Member
Join Date: Dec 2014
Old 09-08-2021 , 07:15   [Any] GagMuteBan
Reply With Quote #1

Note:
1. This version is similar to the original version of GagMute. And this is due to the fact that the authors know each other, exchange code and make different versions for their servers as they see fit for themselves.

2. There are also changes in this version, which differs from the old version.
Therefore, if you are using the old version, then you will need to additionally write your plugin or rewrite my version of l4d2_hx_admin, which I post as an example of work.

The plugin uses standard commands from SourceMod
This does not affect the work in any way. But if you want to use GagMuteBan as the main one, then remove plugin: basebans.

Requirements:
• Metamod: Source/SourceMM (Latest Version)
• SourceMod: 1.10 - 1.1x Latest Build

Admin commands:
HTML Code:
sm_addban <minutes> <STEAM_ID> - Adding to the Ban database
sm_addvote <minutes> <STEAM_ID> - Adding to the Ban Vote database
sm_unban <STEAM_ID> Remove all lock (works together with the standard team, for convenience)
The database of players with mute, gag and ban:
HTML Code:
.../addons/sourcemod/data/GagMuteBan.txt
Native commands:
Player Ban. Time in minutes
HTML Code:
native int HxSetClientBan(int client, int iTime);
Player Gag. Time in minutes
HTML Code:
native int HxSetClientGag(int client, int iTime);
Player Mute. Time in minutes
HTML Code:
native int HxSetClientMute(int client, int iTime);
Player Ban Vote (callvote). Time in minutes
HTML Code:
native int HxSetClientVote(int client, int iTime);

Works that use this plugin:
[L4D2] TK points
Attached Files
File Type: sp Get Plugin or Get Source (gagmuteban.sp - 161 views - 12.9 KB)
File Type: inc gagmuteban.inc (1.1 KB, 136 views)
File Type: zip l4d2_hx_admon.zip (10.7 KB, 124 views)
__________________

Last edited by dr_lex; 11-02-2022 at 11:26. Reason: update
dr_lex is offline