AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Mp3 Play: Can it play mp3 from other Mod Dir? (https://forums.alliedmods.net/showthread.php?t=208385)

tryout101 02-12-2013 20:51

Mp3 Play: Can it play mp3 from other Mod Dir?
 
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?

simanovich 02-13-2013 01:15

Re: Mp3 Play: Can it play mp3 from other Mod Dir?
 
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"


All times are GMT -4. The time now is 20:33.

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