Raised This Month: $ Target: $400
 0% 

no death sound?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 16:20  
Reply With Quote #2

Code:
 #include <amxmodx>  #include <fakemeta>  public plugin_init() {     register_forward(FM_EmitSound,"fw_emitsound",0);  }  public fw_emitsound(ent,channel,sample[],Float:volume,Float:atten,flags,pitch) {     if(!is_user_connected(ent)) {         return FMRES_IGNORED;     }     // additional if statement here to see     // if this user's death should NOT be blocked     if(something) {         return FMRES_IGNORED;     }     if(containi(sample,"player/die") != -1 || containi(sample,"player/death") != -1) {         return FMRES_SUPERCEDE;     }     return FMRES_IGNORED;  }
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 14:33.


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