Raised This Month: $ Target: $400
 0% 

Block Terrorist and CT win sound.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hebusletroll
Senior Member
Join Date: Apr 2006
Old 09-06-2007 , 11:35   Block Terrorist and CT win sound.
Reply With Quote #1

Hello

Is there any way to block the Counter-Terrorist and Terrorist win sound ?

Because this doesn't work (required include are done):

Code:
public plugin_init() 
{
	register_plugin("MyTest",
	                    "Hebusletroll",
		       "0.0")
	
	register_forward(FM_EmitSound,"emitsound")
}

public emitsound(entity, channel, const sample[])
{
	if(equali(sample,"radio/terwin.wav")||equali(sample,"radio/ctwin.wav")) {
		return FMRES_SUPERCEDE
	}
	return FMRES_IGNORED
}
^^

Why it doesn't work ? ;)
hebusletroll 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 16:09.


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