Quote:
Originally Posted by Tim_Rocks
I'll do some quick tests in a few minutes, but I'm pretty sure I'll have to alter the scripts one by one.
Edit: Yeah, so If you guys wanted this done, I'd have to go through the 100+ ganis and edit every single one.
|
If you're too lazy to do what fp4 suggested, add something like this to a 0.05 loop in some weapon NPC.
PHP Code:
// Is instruments disabled?
if (client.instrumentsDisabled) {
// List of instrument sound effects
temp.instrumentSoundList = {
"steps2.wav",
};
// Let's loop through the instrument sounds and stop them if they are played
for (temp.soundName: temp.instrumentSoundList) {
// Stops sound if it's played
if (isSoundPlaying(temp.soundName))
stopSound(temp.soundName);
}
}
EDIT: I strongly encourage you to do what he said though.