fix(server/events/player): Position

Position was not updating on player dropped but was on player save event.
This commit is contained in:
GhzGarage
2021-09-25 18:31:28 -05:00
parent 5555cd6662
commit 34c574daf2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ function QBCore.Functions.GetPlayersFromCoords(coords, distance)
local targetCoords = GetEntityCoords(target)
local targetdistance = #(targetCoords - coords)
if targetdistance <= distance then
closePlayers[#closePlayers+1] = player
closePlayers[#closePlayers+1] = player
end
end
return closePlayers