Raised This Month: $ Target: $400
 0% 

emiting a ambient sound mp3 ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 10-23-2007 , 18:30   Re: emiting a ambient sound mp3 ?
Reply With Quote #1

no it has to be a wav if you use that command .

this doesnt seem to work here

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "BFM Sounds" #define VERSION "1.0" #define AUTHOR "Peoples Army" public plugin_init() {  register_plugin(PLUGIN, VERSION, AUTHOR)  register_concmd("bfm_sound_on","sound_on");  register_concmd("bfm_sound_off","sound_off");   } public plugin_precache() {  precache_sound("sound/misc/bfm.mp3"); } public bfm_sound_on() {  client_cmd(0,"spk sound/misc/bfm.mp3");  set_task(63.0,"bfm_sound_on",1,"",0,"b"); } public bfm_sound_off() {  remove_task(1); }
Peoples Army 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