Raised This Month: $12 Target: $400
 3% 

Issue with emit_sound()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-18-2018 , 13:00   Issue with emit_sound()
Reply With Quote #1

When I type 'stopsound' on console after creating an entity and make it emit X sound, it's sound stops, how could I make the entity continue to emit the sound after I type 'stopsound' on console?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 11-18-2018 , 13:57   Re: Issue with emit_sound()
Reply With Quote #2

The entity keeps emiting. It's you (client) who stop the sound using the command.
I mean, other players are still hearing the sound.
__________________
My English is A0
E1_531G is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-18-2018 , 16:37   Re: Issue with emit_sound()
Reply With Quote #3

So the only way to keep that emit_sound be heard even with stopsound is emiting every X seconds ? Or is there a format that stopsound will not stop the sound?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 11-18-2018 , 16:50   Re: Issue with emit_sound()
Reply With Quote #4

1. Yes.
2. AFAIK, stopsound doesn't stop the MP3 sound. For MP3 the stop command is: mp3 stop
__________________
My English is A0
E1_531G is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-18-2018 , 17:12   Re: Issue with emit_sound()
Reply With Quote #5

But emit_sound() only works with wav files, doesn't it? I'll keep emiting after X seconds then.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 11-18-2018 , 17:56   Re: Issue with emit_sound()
Reply With Quote #6

Quote:
Originally Posted by EFFx View Post
But emit_sound() only works with wav files, doesn't it? I'll keep emiting after X seconds then.
Yes, it does.
That was an example for how to bypass 'stopsound' usage.
__________________
My English is A0
E1_531G is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-18-2018 , 18:16   Re: Issue with emit_sound()
Reply With Quote #7

Ok, thank you.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Reply


Thread Tools
Display Modes

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 08:57.


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