ok what I've got set up in a rcon control panel is:
resource
PulldownMenuContainer
{
title "music"
name "Default"
rect 241 160 24 16
fgcolor 0.00 0.00 0.00 1.00
bgcolor 0.75 0.75 0.75 1.00
borderstyle "INDENT_BORDER"
menushader "MENU" "textures/menu/pulldownarrow"
selmenushader "MENU" "textures/menu/pulldownarrow_sel"
addpopup "MENU" "xx1" command "tmstop;wait5;tmstart xx1.mp3"
addpopup "MENU" "xx2" command "tmstop;wait5;tmstart xx2.mp3"
addpopup "MENU" "xx3" command "tmstop;wait5;tmstart xx3.mp3"
addpopup "MENU" "xx4" command "tmstop;wait5;tmstart xx4.mp3"
addpopup "MENU" "xx5" command "tmstop;wait5;tmstart xx5.mp3"
addpopup "MENU" "xx6" command "tmstop;wait5;tmstart xx6.mp3"
addpopup "MENU" "xx7" command "tmstop;wait5;tmstart xx7.mp3"
addpopup "MENU" "xx8" command "tmstop;wait5;tmstart xx8.mp3"
addpopup "MENU" "xx9" command "tmstop;wait5;tmstart xx9.mp3"
addpopup "MENU" "xx10" command "tmstop;wait5;tmstart xx10.mp3"
how do I create and execute a script that will play one song after the other has finished?? basicly I want to add an option to the menu to play all songs in order.
JV helppppppp....
Moderator: Moderators
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
- Contact:
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
- Contact:
-
7th Es Cyborg
- First Lieutenant
- Posts: 189
- Joined: Fri Dec 13, 2002 5:00 pm
- Location: PA
- Contact:
ok think i have a solution, but I don't know how to script it,
If I was to set the command line to run say, exec song.cfg
then had in song.cfg
xx[variable].mp3 in an array with something to count the variable from 1 to 10 and switch to the next varaible when the mp3 ends.
anyone got any ideas???????
If I was to set the command line to run say, exec song.cfg
then had in song.cfg
xx[variable].mp3 in an array with something to count the variable from 1 to 10 and switch to the next varaible when the mp3 ends.
anyone got any ideas???????
