Quote:
Originally Posted by NanoC
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