I want to use -music command for JJ CP's.
I import file mp3 in map and fix script this line
local sound Music=CreateSound("cool.mp3",false,false,false,10,10,"DefaultEAXON")
to
local sound Music=CreateSound("magia.mp3",false,false,false,10,10,"")
This music can not play when i use -music.
help me please.
I'm sorry my english language is bad.
how to use -music command.
Moderator: Cheaters
-
- Old Wrinkly Member
- Posts: 226
- Joined: April 19th, 2010, 1:48 pm
- Location: In The World
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
-
- Grammar King
- Posts: 2117
- Joined: June 22nd, 2008, 10:11 pm
- Title: Worst human for 4eva
- Location: Mostly USEast
Re: how to use -music command.
elseif SubString(s2s,0,6)=="-music"then
call SetSoundDuration(Music,47334)
call SetSoundChannel(Music,0)
call SetSoundVolume(Music,127)
call SetSoundPitch(Music,1.)
call PlaySoundBJ(Music)
Yes there is.
To the music thing, I believe there's a compression problem when you import using MPQMaster, but I don't have MPQ on me at the moment, so I can't tell you for sure.
call SetSoundDuration(Music,47334)
call SetSoundChannel(Music,0)
call SetSoundVolume(Music,127)
call SetSoundPitch(Music,1.)
call PlaySoundBJ(Music)
Yes there is.
To the music thing, I believe there's a compression problem when you import using MPQMaster, but I don't have MPQ on me at the moment, so I can't tell you for sure.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
Learn how to extract and read RAW Codes here!(23:44:12) Bartimaeus: I was in pubic school until middle school...
Need help? Click here and ask your question!
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: how to use -music command.
Really? I did a search on the JJCP thread and there was no -music listed.
-
- Old Wrinkly Member
- Posts: 226
- Joined: April 19th, 2010, 1:48 pm
- Location: In The World
Re: how to use -music command.
This command is hide in endglobals script, you can find and read other command in this script.owner123 wrote:Really? I did a search on the JJCP thread and there was no -music listed.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: how to use -music command.
Yes, but it just seems kind of stupid that he would make commands then leave them out of his list... >.<Fukki wrote:This command is hide in endglobals script, you can find and read other command in this script.owner123 wrote:Really? I did a search on the JJCP thread and there was no -music listed.