NPC Code:
//Made by Xaxen
// Breakdown of Script
//Commands volume 0, volume 1, volume 2, volume 3, Radio Off
//
if (created) {
toweapons Radio;
}
if (weaponfired){
set radio_enabled;
if (radio_enabled)
say2 You can adjust which speaker you
#bwant music to come out of.
#b---------------------------
#bIf you say "volume 0" it will mute
#bthe radio.
#bIf you say "volume 1" the music
#bwill come out of the right speaker
#bIf you say "volume 2" the music
#bwill come out of the left speaker
#bIf you say "volume 3" it will
#bplay normally and Radio off to
#bturn off the radio;
}
if (playersays(Volume 0)){
play yohokiworld.mid;
setmusicvolume 0,0;
}
if (playersays(Volume 1)){
play yohokiworld.mid;
setmusicvolume 1,0;
}
if (playersays(Volume 2)){
play yohokiworld.mid;
setmusicvolume 0,1;
}
if (playersays(Volume 3)){
play yohokiworld.mid;
setmusicvolume 1,2;
}
if (playersays(Radio Off)){
stopsound yohokiworld.mid;
}
-------------------------------------
thats what i got its nothing amazing