hear death sounds and other thing
1. ok i have these custom death sounds.
when someone gets killed, i want the other people that are still alive near the person when he/she got killed hear the death sound. how do i do it because im not that familliar with emit sound 2. i have this code frm VEN's sticky nades. Can some one transfer this into fakemeta? Code:
|
Re: hear death sounds and other thing
accually never mind about the second request.
i just need help on the first |
Re: hear death sounds and other thing
hmmm...i can make to play the sound only to alive players...but not near!
|
Re: hear death sounds and other thing
yea i know how to do that lol.
im just not familiar with emit_sound |
Re: hear death sounds and other thing
Check this out...maybe it works:
Code:
emit_sound(PlayerID, CHAN_WEAPON, "weapons/grenade_hit3.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)Or maybe create an invisible entity at the position of the dead player. And let this emit the sound!? only my 2 cent ;) greetz regalis |
Re: hear death sounds and other thing
no what im doing wouldn't be right if an invisble entity was created
|
Re: hear death sounds and other thing
Try using this
Code:
emit_sound(id, CHAN_VOICE, "soundpath/soundtoplay.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM) |
Re: hear death sounds and other thing
Quote:
If you want to you have to create a entity... I have coded something for you, you have to adjust the soundfile to your favour: Code:
#include <amxmodx> |
Re: hear death sounds and other thing
k ill try it out thx
|
Re: hear death sounds and other thing
hy 2 all..
I want a sound to be played on the dead guy...after he got killed... |
| All times are GMT -4. The time now is 10:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.