Skip to content

Commit

Permalink
fix: fix bad OneSync compat implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGriefs committed Oct 16, 2021
1 parent 9e51155 commit 3955c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.lua
Expand Up @@ -80,7 +80,7 @@ end)
RegisterNetEvent("AB3:ServerBeep", function(netId)
local otherPed = GetPlayerPed(GetPlayerFromServerId(netId))
local ped = PlayerPedId()
if DoesEntityExist(ped) and (IsPedInAnyVehicle(ped) == IsPedInAnyVehicle(otherPed)) or not IsPedInAnyVehicle(ped) then
if DoesEntityExist(otherPed) and (IsPedInAnyVehicle(ped) == IsPedInAnyVehicle(otherPed)) or not IsPedInAnyVehicle(ped) then
local volume = 0.05
local radius = 10

Expand Down

0 comments on commit 3955c92

Please sign in to comment.