Raised This Month: $ Target: $400
 0% 

Mp3 Play: Can it play mp3 from other Mod Dir?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tryout101
Member
Join Date: Mar 2009
Old 02-12-2013 , 20:51   Mp3 Play: Can it play mp3 from other Mod Dir?
Reply With Quote #1

I would like to know if the mp3 play command can be used to play sound files from another Mod directory. For example :

Play a sound file from the sound directory of "Condition Zero Deleted Scenes", while playing in Condition Zero.

I feel like this may be against the guidelines of this thread, but I hope it isn't.

Can I set the directory outside the "czero mod" directory through AmxModX code and then execute the mp3 play command? Would that work?
tryout101 is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 02-13-2013 , 01:15   Re: Mp3 Play: Can it play mp3 from other Mod Dir?
Reply With Quote #2

I think it's possible only in Half-Life:
PHP Code:
client_cmd(client,"mp3 play \music\somefile.mp3"); 
Will play "valve\music\somefile.mp3"
__________________
simanovich 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 20:33.


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