Raised This Month: $ Target: $400
 0% 

[CS:GO/CS:S?] Mutes friendly knife sound


Post New Thread Reply   
 
Thread Tools Display Modes
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 12-08-2018 , 16:49   Re: [CS:GO/CS:S?] Mutes friendly knife sound
Reply With Quote #11

GitHub repo created. You can now download it from there
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Heypio
Junior Member
Join Date: Nov 2017
Old 01-05-2021 , 11:25   Re: [CS:GO/CS:S?] Mutes friendly knife sound
Reply With Quote #12

Quote:
Originally Posted by NanoC View Post
Knife sound muter

This is a basic plugin, it just disable the annoying knife sound when no damage is dealt (only if Ts knifes others Ts, or CTs knifes others CTs)
Useful for Jailbreak and Zombie Mod/Escape servers.

If mp_teammates_are_enemies is 1, this plugin won't work

Cvars

mk_enable 1/0 - Enable or disable the plugin

Client/players commands (3 same commands)

sm_knifemute
sm_muteknife
sm_mk


Future changes
- Add sounds when some one type the command
- Add an admin cvar to enable plugin for EVERY people in the server
- Add an entry to save (or not) the plugin using clientpref
- Add a cvar to control if the knife sound is muted only for teammates, enemies, or both.

Thanks to GAMMACASE for the help

Video as an example here


DOWNLOAD VIA GITHUB

Main page

Direct download





As you can see below I am getting errors like this from the plugin. And the plugin is not working, we can hear the blade sounds. Can you help me?

I am using it on my CSGO server.


Code:
L 01/05/2021 - 06:57:08: [SM] Exception reported: Invalid edict (-1 - -1)
L 01/05/2021 - 06:57:08: [SM] Blaming: sm_knifemute.smx
L 01/05/2021 - 06:57:08: [SM] Call stack trace:
L 01/05/2021 - 06:57:08: [SM]   [0] GetEdictClassname
L 01/05/2021 - 06:57:08: [SM]   [1] Line 90, sm_knifemute.sp::NSound_CallBack
L 01/05/2021 - 06:57:08: [SM]   [3] EmitSound
L 01/05/2021 - 06:57:08: [SM]   [4] Line 481, /home/container/csgo/addons/sourcemod/scripting/include/sdktools_sound.inc::EmitSoundToAll
L 01/05/2021 - 06:57:08: [SM]   [5] Line 250, drops.sp::Detour_RecordPlayerItemDrop
L 01/05/2021 - 07:15:20: [SM] Exception reported: Invalid edict (-1 - -1)
L 01/05/2021 - 07:15:20: [SM] Blaming: sm_knifemute.smx
L 01/05/2021 - 07:15:20: [SM] Call stack trace:
L 01/05/2021 - 07:15:20: [SM]   [0] GetEdictClassname
L 01/05/2021 - 07:15:20: [SM]   [1] Line 90, sm_knifemute.sp::NSound_CallBack
L 01/05/2021 - 07:15:20: [SM]   [3] EmitSound
L 01/05/2021 - 07:15:20: [SM]   [4] Line 481, /home/container/csgo/addons/sourcemod/scripting/include/sdktools_sound.inc::EmitSoundToAll
L 01/05/2021 - 07:15:20: [SM]   [5] Line 250, drops.sp::Detour_RecordPlayerItemDrop
L 01/05/2021 - 07:51:44: [SM] Exception reported: Invalid edict (-1 - -1)
L 01/05/2021 - 07:51:44: [SM] Blaming: sm_knifemute.smx
L 01/05/2021 - 07:51:44: [SM] Call stack trace:
L 01/05/2021 - 07:51:44: [SM]   [0] GetEdictClassname
L 01/05/2021 - 07:51:44: [SM]   [1] Line 90, sm_knifemute.sp::NSound_CallBack
L 01/05/2021 - 07:51:44: [SM]   [3] EmitSound
L 01/05/2021 - 07:51:44: [SM]   [4] Line 481, /home/container/csgo/addons/sourcemod/scripting/include/sdktools_sound.inc::EmitSoundToAll
L 01/05/2021 - 07:51:44: [SM]   [5] Line 250, drops.sp::Detour_RecordPlayerItemDrop
L 01/05/2021 - 08:16:00: [SM] Exception reported: Invalid edict (-1 - -1)
L 01/05/2021 - 08:16:00: [SM] Blaming: sm_knifemute.smx
L 01/05/2021 - 08:16:00: [SM] Call stack trace:
L 01/05/2021 - 08:16:00: [SM]   [0] GetEdictClassname
L 01/05/2021 - 08:16:00: [SM]   [1] Line 90, sm_knifemute.sp::NSound_CallBack
L 01/05/2021 - 08:16:00: [SM]   [3] EmitSound
L 01/05/2021 - 08:16:00: [SM]   [4] Line 481, /home/container/csgo/addons/sourcemod/scripting/include/sdktools_sound.inc::EmitSoundToAll
L 01/05/2021 - 08:16:00: [SM]   [5] Line 250, drops.sp::Detour_RecordPlayerItemDrop
L 01/05/2021 - 09:43:58: [SM] Exception reported: Invalid edict (-1 - -1)
L 01/05/2021 - 09:43:58: [SM] Blaming: sm_knifemute.smx
L 01/05/2021 - 09:43:58: [SM] Call stack trace:
L 01/05/2021 - 09:43:58: [SM]   [0] GetEdictClassname
L 01/05/2021 - 09:43:58: [SM]   [1] Line 90, sm_knifemute.sp::NSound_CallBack
L 01/05/2021 - 09:43:58: [SM]   [3] EmitSound
L 01/05/2021 - 09:43:58: [SM]   [4] Line 481, /home/container/csgo/addons/sourcemod/scripting/include/sdktools_sound.inc::EmitSoundToAll
L 01/05/2021 - 09:43:58: [SM]   [5] Line 250, drops.sp::Detour_RecordPlayerItemDrop

Last edited by Heypio; 01-05-2021 at 17:29.
Heypio 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 07:15.


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