Raised This Month: $ Target: $400
 0% 

Death Sounds HELP!!! ******


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 09-15-2007 , 15:57   Death Sounds HELP!!! ******
Reply With Quote #1

I need help with this it doesn't work right but i want it to make that sound when a person dies can anyone help?

PHP Code:
#include <amxmodx>


#define PLUGIN "Death sounds"
#define VERSION "1.0"
#define AUTHOR "purple nurple"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("DeathMsg","event_death","a"
}

public 
event_death(id)
    {
    
emit_sound(idCHAN_VOICE,"zombie/zombie_die3.wav"1.0ATTN_NORM0PITCH_NORM)
}
public 
plugin_precache()
{
    
precache_sound("zombie/zombie_die3.wav")

Can anyone help?

Last edited by purple nurple; 09-15-2007 at 18:03.
purple nurple 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:14.


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