This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Kreedz_Soundblocker_V0.1


Post New Thread Reply   
 
Thread Tools Display Modes
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-17-2007 , 14:51   Re: m0d_SlaYer_Kreedz_Soundblocker_V0.1
Reply With Quote #11

Quote:
Originally Posted by ]Kreedz4Fun[ SlaYer View Post
mhh dont find other sound blockers. but everywhere i found the sound block system. how i can do this

*sry bad english*
no no no,
Quote:
Originally Posted by dangerix
Alka didn't want to tell you to use another sound blocker plugin, but to change the name to

Quote:
Originally Posted by Alka
something like "kz_soundblocker" or "kz_sound_replacer" :/
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
]Kreedz4Fun[ SlaYer
Member
Join Date: Mar 2007
Old 11-17-2007 , 22:12   Re: Kreedz_Soundblocker_V0.1
Reply With Quote #12

ahh you mean Kreedz_Soundreplacer is a better name? or something?
__________________
VisiT mY KreedZ ServerS wiTh My m0d
FollowinG SerVers UsInG [ Kreedz4Fun_Climb_V3.0 ]

Name: ]Kreedz4Fun[ JumpServer [+Hook, +Jetpack] by Kreedz4Fun.de
IP: 85.131.222.76:27090
Name: ]Kreedz4Fun[ Bhop-Server [+Hook, +Jetpack] by Kreedz4Fun.de
IP: 85.131.222.83:27060
]Kreedz4Fun[ SlaYer is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 02-26-2008 , 23:20   Re: Kreedz_Soundblocker_V0.1
Reply With Quote #13

Code:
			if(contain(sound, "player/pl_pain2.wav")!=-1)
			{
				return FMRES_SUPERCEDE;
			}
			if(contain(sound, "player/pl_pain3.wav")!=-1)
			{
				return FMRES_SUPERCEDE;
			}
			if(contain(sound, "player/pl_pain4.wav")!=-1)
			{
				return FMRES_SUPERCEDE;
			}
don't use contain, equal should work fine.

also you could do a check in the begining
Code:
if( !equal(sound, "player/", 7) )
   return FMRES_IGNORE;
PM me when you have done this for Approval.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
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 22:59.


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