Raised This Month: $ Target: $400
 0% 

How can I add .mp3 support


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 03-31-2011 , 14:43   How can I add .mp3 support
Reply With Quote #1

Hey, guys!
Can someone tell me how can I add .mp3 files support to a plugin ?
dreamedward is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-01-2011 , 01:55   Re: How can I add .mp3 support
Reply With Quote #2

Change path so it includes "sound/", change precache native from precache_sound to precache_generic, and change play command from spk / speak to 'mp3 play'.
If sounds are emitted with emit_sound native, you can't use any other format than wav mono.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 04-01-2011 , 07:09   Re: How can I add .mp3 support
Reply With Quote #3

Thanks!
dreamedward is offline
Old 04-01-2011, 10:48
hleV
This message has been deleted by Exolent[jNr]. Reason: Spam
Old 04-01-2011, 10:48
hleV
This message has been deleted by Exolent[jNr]. Reason: Spam
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 14:40.


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