Ambience Sound + Loop
I have tried variations of trying to fix this but maybe I am just not seeing something. The warning is Warning: Loose indentation on line 53
Line 53 is... fclose(f); at the end of the part of the code. PHP Code:
|
Re: Warning: Loose indentation on line 53
PHP Code:
PHP Code:
|
Re: Warning: Loose indentation on line 53
I did that and it gave me 3 errors than.
Code:
Warning: Loose indentation on line 53 |
Re: Warning: Loose indentation on line 53
Quote:
Look at the end of the file and you see there is } missing. And what do you have in 56 line? |
Re: Warning: Loose indentation on line 53
Quote:
PHP Code:
|
Re: Warning: Loose indentation on line 53
Quote:
PHP Code:
|
Re: Ambience Sound + Loop
Not tested.
PHP Code:
|
Re: Ambience Sound + Loop
Quote:
EDIT: Tried it, I get this error and my game crashes. COM_LoadFile:not enough space for /sound/ambience/music.wav The plugin not support .wav files? I am about to try with a .mp3 file. Is there a max amount of length the ambience sound can be? Mine is 3 minutes and 10 seconds, that might also be the problem? EDIT AGAIN: MP3 doesnt 'work' but it doesnt crash my server either. I am ingame but no ambience music is playing... |
Re: Ambience Sound + Loop
Show me what you put in the file. It should support .wav.
Edit: I tested it and it works. |
Re: Ambience Sound + Loop
Quote:
Old file before you fixed it. Code:
;For mp3 files you need full pathCode:
;For mp3 files you need full path |
| All times are GMT -4. The time now is 17:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.