depends how you are looping the game music, i assume from a soundzone?
you'll need to add a variable that stores the 'e' of the zone and then call StopSound() using the 'e' and the slot from the zone
something like this
function musicinzone_init(e)
game_music_zone = e
end
function musicinzone_main(e)
if g_Entity[e]['plrinzone']==1 then
LoopSound(e,0)
ActivateIfUsed(e)
end
end
function storyinzone_init(e)
end
function storyinzone_main(e)
if g_Entity[e]['plrinzone']==1 then
StopSound(game_music_zone,0)
PlaySound(e,0)
PlayVideo(e,1)
Destroy(e)
ActivateIfUsed(e)
end
end
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11