RegisterNetEvent('qb-houses:client:addGarage', function() if ClosestHouse ~= nil then local ped = PlayerPedId() if IsPedInAnyVehicle(ped, false) then local veh = GetVehiclePedIsIn(ped) local vehpos = GetEntityCoords(veh) local x = QBCore.Shared.Round(vehpos.x, 2) local y = ...