AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How can I add .mp3 support (https://forums.alliedmods.net/showthread.php?t=153935)

dreamedward 03-31-2011 14:43

How can I add .mp3 support
 
Hey, guys!
Can someone tell me how can I add .mp3 files support to a plugin ?

ConnorMcLeod 04-01-2011 01:55

Re: How can I add .mp3 support
 
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.

dreamedward 04-01-2011 07:09

Re: How can I add .mp3 support
 
Thanks! :)


All times are GMT -4. The time now is 14:40.

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