adding vehicles

This commit is contained in:
2025-11-30 16:24:12 -08:00
parent 1405cecf81
commit c6bdd23cc8
162 changed files with 102341 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
window.addEventListener("message", function(event) {
if (event.data.action === "playSound") {
let id = event.data.sound;
let audio = document.getElementById(id);
if (audio) {
audio.currentTime = 0;
audio.volume = event.data.volume || 0.6;
audio.play();
}
}
});