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


Raised This Month: $ Target: $400
 0% 

Flashbangs Make My Ears Bleed!


Post New Thread Reply   
 
Thread Tools Display Modes
meng
Veteran Member
Join Date: Oct 2005
Location: us
Old 07-18-2009 , 23:34   Re: Flashbangs Make My Ears Bleed!
Reply With Quote #11

if i do this
Code:
        HookEvent("smokegrenade_detonate", Event_NoSmoke, EventHookMode_Pre);

public Action:Event_NoSmoke(Handle:event, const String:name[], bool:dontBroadcast)
{
   	return Plugin_Handled
}
it has no effect. smoke still detonates.

if i use
Code:
public Action:Event_NoSmoke(Handle:event, const String:name[], bool:dontBroadcast)
{
	dontBroadcast = true;
   	return Plugin_Handled
}
it has no effect. smoke still detonates.

Last edited by meng; 07-19-2009 at 00:05.
meng is offline
Send a message via Yahoo to meng
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-19-2009 , 03:42   Re: Flashbangs Make My Ears Bleed!
Reply With Quote #12

http://forums.alliedmods.net/showthread.php?t=96446
Afaik you can't stop flashbang sound but you definitely can remove grenade right before explosion. This is a great idea! Thank you.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
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 13:01.


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