Raised This Month: $ Target: $400
 0% 

[ H3LP ] TakeDamage Sound Block


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarthMan
Veteran Member
Join Date: Aug 2011
Old 07-03-2017 , 08:06   Re: [ H3LP ] TakeDamage Sound Block
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
Try with FM_EmitSound.
I did, but it doesn't work.

Code:
public FwdEmitSound( id, iChannel, const szSound[ ], Float:fVol, Float:fAttn, iFlags, iPitch ) {     if(!g_IsThisTheMap)         return FMRES_IGNORED;         for(new i = 0; i < sizeof(g_szSound); i++)     {         if( containi(szSound, g_szSound[i]) != -1 )           {               forward_return(FMV_CELL, 0)               return FMRES_SUPERCEDE;         }       }     return FMRES_IGNORED; }

Last edited by DarthMan; 07-03-2017 at 08:07.
DarthMan 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 23:10.


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