This commit is contained in:
GhzGarage
2021-09-25 18:04:37 -05:00
+2 -2
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[player] = player
closePlayers[#closePlayers+1] = player
end
end
return closePlayers
@@ -415,4 +415,4 @@ function QBCore.Functions.SetVehicleProperties(vehicle, props)
SetVehicleLivery(vehicle, props.modLivery)
end
end
end
end