Raised This Month: $ Target: $400
 0% 

emiting a ambient sound mp3 ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-23-2007 , 20:30   Re: emiting a ambient sound mp3 ?
Reply With Quote #1

Change:
PHP Code:
client_cmd(0,"spk sound/misc/bfm.mp3"); 
To:
PHP Code:
client_cmd(0,"mp3 play sound/misc/bfm.mp3"); 
In bfm_sound_off() you may also want to stop playing the sound immediately, do this by doing:

PHP Code:
client_cmd(0,"mp3 stop"); 
__________________
M249-M4A1 is offline
Reply



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 01:22.


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