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

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
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
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
Veteran 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.
ThatKidWhoGames is offline
Reply



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 02:16.


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