Minor adjustments, changed sql database name

This commit is contained in:
ElPumpo
2020-04-14 16:45:28 +02:00
parent 5f9fc94c4d
commit bd76482cae
5 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ Citizen.CreateThread(function()
Citizen.Wait(0)
local playerPed = PlayerPedId()
local playerCoords, letSleep = GetEntityCoords(playerPed), true
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer(playerCoords)
for pickupId,pickup in pairs(pickups) do
local distance = #(playerCoords - pickup.coords)