DVZ Shoutbox Sound notification
Register
Dear Guest, Welcome to our forums. Please take a second to register our forum! In a few simple steps you will be able to enjoy all the features of our fine community!

Lobos
05-02-2021, 12:57 PM
#1
Download sound notification:
Size: 1.38 KB
Downloads: 0


ACP >>> Templates & Style >>> Templates >>> Global Templates >>> dvz_shoutbox

Add the following code before {$javascript}

Code:
<script>
dvz_shoutbox.callbacks['update'].push(function(){
    if ($('#shoutbox .entry.new').length) {
        var audio = new Audio(rootpath + '/images/dvz_shoutbox.mp3');
        audio.volume = 0.5;
        audio.play();
    }
});
</script>
Signature
reusers.to
forum.robloxscripts.com