Ok I tried linking the sound to the weapon so when it would fire it would play the sound when you tap the shoot button but it crashes but it plays with a command how do I fix the crash with the button
You must put the sound files into /games/com.mojang/sounds/ folder. If you want to grouping the files, create more folders. That are foldernames in the code.
iOS 9.2.1 Kernel dump exploit success. nvRAM is an issue as overriding it is a big dilemma to many iOS jailbreak developers; Taig is having problems with the Crypto and Apple's signature of all things. I've been working on overriding Apple's signature for the past month with no luck. But, did bypass the Crypto. The kernel is now vulnerable to start exploiting.
To post a comment, please login or register a new account.
Please help I need away to play custom sounds like .mp3 or .ogg please help it would mean alot!!
HipmanMcpe
Thanks sooo much haha this should help I just need a gun to make a noise
HipmanMcpe
Ok I tried linking the sound to the weapon so when it would fire it would play the sound when you tap the shoot button but it crashes but it plays with a command how do I fix the crash with the button
HipmanMcpe
How about playing the sound infinitelyuntil i leave the world??
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumplay.looping(true);
function leaveGame(){
play.stop;
}
It works:
If you want to play sound:
Extension could be mp3, ogg, wav, and so on.
You must put the sound files into /games/com.mojang/sounds/ folder. If you want to grouping the files, create more folders. That are foldernames in the code.
You can also do this as a command:
function procCmd (cmd) { /* Music */ if(cmd == "Music"){ clientMessage("Option: §6§l/Music [On/Off]"); } if(cmd[0] == "Music On"); { playSound(); } if(cmd[0] == "Music On"); { clientMessage(" §6§lMusic Turned §2§lOn!"); } { if(cmd[0] == "Music Off") { mPlayer.stop(); mPlayer.reset(); } } if(cmd[0] == "Music Off"); { clientMessage(" §6§lMusic Turned §4§lOff!"); } /* ----------------------------------------------------------------------------- */ function playSound(){ var songPath = path + "/games/com.mojang/music/xReVoLT.mp3"; try{ if(!mPlayer.isPlaying()){ mPlayer.setDataSource(songPath); mPlayer.prepare(); mPlayer.start(); mPlayer.setVolume(0.5); mPlayer.setLooping(true); } }catch(err){ } } }iOS 9.2.1 Kernel dump exploit success. nvRAM is an issue as overriding it is a big dilemma to many iOS jailbreak developers; Taig is having problems with the Crypto and Apple's signature of all things. I've been working on overriding Apple's signature for the past month with no luck. But, did bypass the Crypto. The kernel is now vulnerable to start exploiting.