Raised This Month: $ Target: $400
 0% 

[ SOLVED ] Stop specified sound?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-31-2015 , 19:13   Re: [ HELP ] Stop specified sound?
Reply With Quote #2

First off, correct this.

PHP Code:
new const SOUND[] = "sounds/test"

PHP Code:
new const SOUND[] = "test.wav"
Second, you should precache it

And third, what are you exactly trying to do? Do you want to stop the sound at a point?
This might be the answer If I'm not wrong.

PHP Code:
// Add this under client_cmd in event_round_start
set_task(0.5"function"); // Or any time you think is good enough for your sound 
Oh and client_cmd is not supported here, but this looks like a harmless plugin.

Last edited by redivcram; 10-31-2015 at 19:14. Reason: typo
redivcram 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 18:02.


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