PDA

View Full Version : 317 Turning off sound effects button (Fix)



killdogz
June 22nd, 2010, 19:59
For anyone who used bluur's Multi sounds methods

I noticed that he removed the code that doesn't turn off the sound effect when you pressed off.

Well i figured how to fix it for people who don't know ;)

i found a few Clients that don't have this in

Find:

if(anInt1008 == 174) {

and replace it with:


if(anInt1008 == 174) {
int songid = aClass30_Sub2_Sub2_1083.method410();
int type = aClass30_Sub2_Sub2_1083.method408();
int delay = aClass30_Sub2_Sub2_1083.method410();
if(aBoolean848 && !aBoolean960 && anInt1062 < 50)
{
anIntArray1207[anInt1062] = songid;
anIntArray1241[anInt1062] = type;
anIntArray1250[anInt1062] = delay + Class16.anIntArray326[songid];
anInt1062++;
}
anInt1008 = -1;
return true;
}

Compile and done.

and this will make the sound effect button work again :D

i know it isn't much, but may help someone if they didn't know about this so please don't flame me for my first tut here.