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

Mute Weapon Shots


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 08-08-2021 , 04:50   Mute Weapon Shots
Reply With Quote #1

This has been requested on so many post I read.
Finally, it's possible.

Description
The plugin will allow players to individually disable hearing weapon shots from other players.
It was made for "infinite ammo" servers or for zombies in zombie mods.

Command:
Say /mute to disable the shots sound

For developers:
The method used is changing groupinfo at PlaybackEvent.
Why is this possible? See these lines: https://github.com/dreamstalker/rehl...cmds.cpp#L1259

I want to change the command:
Go to this line
PHP Code:
register_clcmd("say /mute""clcmd_saymute"); 
and change by the command you want, example
PHP Code:
register_clcmd("say /hello""clcmd_saymute"); 
Attached Files
File Type: sma Get Plugin or Get Source (mute_weapon_shoots.sma - 238 views - 3.6 KB)

Last edited by baneado; 08-20-2021 at 13:37.
baneado is offline
 



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:27.


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