AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] MP3_InitStream Failed (https://forums.alliedmods.net/showthread.php?t=244589)

XControlX 07-20-2014 15:38

[HELP] MP3_InitStream Failed
 
When i'm trying to play a mp3 file, I'm getting that error in my console:
Code:

warning: MP3_InitStream(31, Jailbreak\LR\song_1.mp3) Failed.
My code:
Code:

client_cmd( 0, "mp3 play ^"Jailbreak/LR/song_1.mp3^"" );
Help some one? :)

Baws 07-20-2014 18:11

Re: [HELP] MP3_InitStream Failed
 
Maybe

Code:
client_cmd( 0, "mp3 play ^"Jailbreak/LR/song_1.mp3^"" );
:arrow:
Code:
client_cmd( 0, "mp3 play ^"Jailbreak\LR\song_1.mp3^"" );

simanovich 07-20-2014 19:02

Re: [HELP] MP3_InitStream Failed
 
Add "sound/" in the begining of the path.

XControlX 07-20-2014 22:05

Re: [HELP] MP3_InitStream Failed
 
Quote:

Originally Posted by simanovich (Post 2171048)
Add "sound/" in the begining of the path.

LOL I'm so stupid... Love you Roy <3.

Thanks, working.


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

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