Main/resources/[jobs]/[weapons]/nordi_shootingrange/html/index.html
2025-06-07 08:51:21 +02:00

15 lines
345 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>
window.addEventListener('message', function (event) {
if (event.data.action === 'play') {
let audio = new Audio(`./${event.data.sound}.ogg`);
audio.play();
}
});
</script>
</head>
<body></body>
</html>