Skip to content

Commit

Permalink
fix: too many colons in event name
Browse files Browse the repository at this point in the history
  • Loading branch information
plunkettscott authored Apr 24, 2019
1 parent 2e15d2f commit ab9aadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ end)
-- @TODO Change sound volume based on the distance the player is away from the playOnEntity.
------
RegisterNetEvent('InteractSound_CL:PlayWithinDistance')
AddEventHandler('InteractSound_CL::PlayWithinDistance', function(playerNetId, maxDistance, soundFile, soundVolume)
AddEventHandler('InteractSound_CL:PlayWithinDistance', function(playerNetId, maxDistance, soundFile, soundVolume)
local lCoords = GetEntityCoords(GetPlayerPed(-1))
local eCoords = GetEntityCoords(GetPlayerPed(GetPlayerFromServerId(playerNetId)))
local distIs = Vdist(lCoords.x, lCoords.y, lCoords.z, eCoords.x, eCoords.y, eCoords.z)
Expand Down

0 comments on commit ab9aadd

Please sign in to comment.