Skip to content

Commit

Permalink
Addind Sound when Entering/Leaving (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSiiN authored Aug 3, 2023
1 parent 2001ad4 commit 0595c5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/cl_property.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ end

function Property:EnterShell()
DoScreenFadeOut(250)
TriggerServerEvent("InteractSound_SV:PlayOnSource", "houses_door_open", 0.25)
Wait(250)

self.inProperty = true
Expand All @@ -219,6 +220,7 @@ function Property:LeaveShell()
if not self.inProperty then return end

DoScreenFadeOut(250)
TriggerServerEvent("InteractSound_SV:PlayOnSource", "houses_door_open", 0.25)
Wait(250)

local coords = self:GetDoorCoords()
Expand Down

0 comments on commit 0595c5b

Please sign in to comment.