Code:public void frame174(int i1, int i2, int i3) { // Sound method outStream.createFrame(174); outStream.writeWord(i1); outStream.writeByte(i2); outStream.writeWord(i3); updateRequired = true; appearanceUpdateRequired = true; }
|
Here's my void.
But whenever I play a sound it keeps repeating. I also got the method to stop music from working, I tried also using thread.sleep timers to delay the method but they were fucking up.Code:public void frame74(int music) { outStream.createFrame(74);//this sends the frame outStream.writeWordBigEndian(music);//this is the music id }
Code:public void frame174(int i1, int i2, int i3) { // Sound method outStream.createFrame(174); outStream.writeWord(i1); outStream.writeByte(i2); outStream.writeWord(i3); updateRequired = true; appearanceUpdateRequired = true; }
That's sound affects, not music, music is frame74, sound is 174.
Oh my bad man, sorry.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |