From 5bc2858bce004e2bc87e33eefbb9b5d03705256f Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Sun, 3 Aug 2025 17:39:18 +0200 Subject: [PATCH] Update main.lua --- resources/[tools]/nordi_dj/client/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/[tools]/nordi_dj/client/main.lua b/resources/[tools]/nordi_dj/client/main.lua index c2e9cfa2e..69368b2fd 100644 --- a/resources/[tools]/nordi_dj/client/main.lua +++ b/resources/[tools]/nordi_dj/client/main.lua @@ -329,7 +329,7 @@ function PlayMusicAsDJ(title, url, volume) name = nearestBooth, coords = Config.DJBooths[nearestBooth].coords } -} +end function StopMusicAsDJ() if not nearestBooth then @@ -348,7 +348,7 @@ function StopMusicAsDJ() isPlaying = false currentSong = nil currentBooth = nil -} +end function SetVolumeAsDJ(volume) if not nearestBooth then @@ -372,7 +372,7 @@ function SetVolumeAsDJ(volume) -- Lokale Variablen aktualisieren currentVolume = volume -} +end function CalculateRange(volume) if not nearestBooth or not Config.DJBooths[nearestBooth] then return 30.0 end