Raised This Month: $186 Target: $400
 46% 

Block weapon fire sound and add custom fire sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
undead52
Senior Member
Join Date: Dec 2016
Old 05-15-2018 , 13:21   Block weapon fire sound and add custom fire sound
Reply With Quote #1

as the topic is it possible to make that ? in amxx it possible and i already did it.
undead52 is offline
edgar009955
Junior Member
Join Date: Aug 2016
Old 05-15-2018 , 16:49   Re: Block weapon fire sound and add custom fire sound
Reply With Quote #2

game?
edgar009955 is offline
edgar009955
Junior Member
Join Date: Aug 2016
Old 05-15-2018 , 16:52   Re: Block weapon fire sound and add custom fire sound
Reply With Quote #3

Code:
#include <sdktools>

public void OnPluginStart()
{
	AddTempEntHook("Shotgun Shot", Hook_BlockTE);
}

public Action Hook_BlockTE(const char[] te_name, const int[] Players, int numClients, float delay)
{
	return Plugin_Stop;
}
edgar009955 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 05-15-2018 , 17:09   Re: Block weapon fire sound and add custom fire sound
Reply With Quote #4

amxx games are not the same as source games.

Try searching for your game and the exact topic title and you'll see a couple other topics about this.
__________________
Mitchell is offline
ThatKidWhoGames
Senior Member
Join Date: Jun 2013
Location: IsValidClient()
Old 05-15-2018 , 18:41   Re: Block weapon fire sound and add custom fire sound
Reply With Quote #5

Just to make it a long story short... essentially all weapon sounds are client side. Nothing you can do about them via a plugin.
__________________


I take custom plugin requests, add me on Steam for details.
ThatKidWhoGames 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 17:30.


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