Blocking Fire in the hole sound and text
I tryed this, but i never got a print out
Code:
|
Did you try catching EmitSound?
|
I dont think the fire in the hole is emitted
|
1 Attachment(s)
The he arena plugin has a block for 'fire in the hole' and it works rather well, maybe you can find what your looking for in it.
|
I think register_message is broken. I tryed that with my plugin and didnt work. I also tryed the plugin, also didnt block the sound & text.
Thanks anyways |
It's not broken. This works (tested):
Code:
|
Thanks for the confirmation. Anyways the audio blocking is successful. But the text one failed. I had to get DS's Message Logging to fix this for myself. I found out that im getting different arguments from the one im checking. Is this only happening to me?
Code:
BTW Thanks VEN :) |
Re: Blocking Fire in the hole sound and text
It think it only happened to you, Cheap_Suit, cause it works just fine.
Now, I need some help with what I additionally tried to add in this plugin. I added a custom sound (hepin.wav) sounding like a pin that is getting pulled out of the nade. Here's what I made from it: Code:
/*Code:
#define SOUND_HEPIN "misc/hepin.wav"Code:
client_cmd(0,"spk %s", SOUND_HEPIN)- But for some reason it doesn't work for some players ingame and it does for others - And secondly, after about 15 minutes, people (including me) are getting sound problems on the server. (an echo-like soundproblem) PS: I got confirmed by several people they've download the hepin.wav file Is there anything wrong with what I added/did? |
Re: Blocking Fire in the hole sound and text
try typing room_type 00 in console.
|
Re: Blocking Fire in the hole sound and text
So far so good. Though room_type was allready default on 0. So I've put it on 00. Don't know if that makes any diference.
Haven't tested with other players yet. That will be for tomorow. Got my thumbs up. :up: Thx |
| All times are GMT -4. The time now is 16:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.