@name Sound Emitter
@inputs A B C D E F G
@outputs Volume
@model models/cheeze/wires/speaker.mdl
if (owner():lastSaid() == "Hl2"){State=1}
if (owner():lastSaid() == "Stop"){State=2}


if(State == 1)
{
entity():soundPlay(0,9999999,"music/hl2_song3.mp3" )
}



if(State == 2)
{
soundStop(1)
}

if (C>=1) {soundPlay(0,9999999,"music/hl2_song2.mp3" )}
if(C==0) {soundStop(1)}

if (D>=1) {soundPlay(0,9999999,"music/hl2_song19.mp3" )}
if(D==0) {soundStop(1)}

if (E>=1) {soundPlay(0,9999999,"music/hl2_song20_submix4.mp3" )}
if(E==0) {soundStop(1)}

if (F>=1) {soundPlay(0,9999999,"music/hl2_song26.mp3" )}
if(F==0) {soundStop(1)}

if (G>=1) {soundPlay(0,9999999,"music/hl2_song27.mp3" )}
if(G==0) {soundStop(1)}




