From e7016c723cf51f689efd85d1e91682e775603d81 Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Sun, 15 Jul 2018 13:15:14 +0200 Subject: [PATCH] Play sound when picking up throwed item --- client/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.lua b/client/main.lua index b0edfeea..51f79c65 100644 --- a/client/main.lua +++ b/client/main.lua @@ -599,6 +599,7 @@ Citizen.CreateThread(function() if (closestDistance == -1 or closestDistance > 3) and distance <= 1.0 and not v.inRange and not IsPedSittingInAnyVehicle(playerPed) then TriggerServerEvent('esx:onPickup', v.id) + PlaySoundFrontend(-1, "PICK_UP", "HUD_FRONTEND_DEFAULT_SOUNDSET", 1) v.inRange = true end