View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-19-2007 , 21:01   Re: Loading Music II v1.2.6
Reply With Quote #30

@Simon Logic :

Quote:
* separate playlist for each map support (usage: just create a playlist
$AMXMODX/config/loading_music/<mapname>.ini)
Does it work with map type like cs_.ini , de_.ini , dod_.ini ..etc?


EDIT : I've tested and it seems that doesn't work.

Can you implement this feature please? It would be very useful!

Thanks


EDIT2: I've seen this error : Missing RIFF/WAVE chunk
It seems that you use 'precache_sound( for .wav and .mp3.

Shouldn't you use precache_generic( for .mp3 and precache_sound( for .wav to prevent this error ?

Like:

Code:
	   if(containi(sCacheFileName, ".mp3"))
	   {
	   	format(sCacheFileName, MAX_TRACKNAME_LENGTH-sizeof(g_sWavDir)+2, "sound/%s", sCacheFileName)
		precache_generic(sCacheFileName)
	   }
	   else
		precache_sound(sCacheFileName)
__________________

Last edited by Arkshine; 03-21-2007 at 01:54.
Arkshine is offline