1
0
Fork 0
forked from Simnation/Main
Main/resources/[weapons]/[Scripts]/nordi_shootingrange/html/index.html
2025-07-26 08:56:55 +02:00

15 lines
330 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>