--exechack.cc/lua hook.Add("HUDPaint", "gHomesDisplayInfo", function() if ghomes and ghomes.list then local ply = LocalPlayer() local plyPos = ply:GetPos() local y_offset = 50 for id, house in pairs(ghomes.list) do local buyerName = "" local color if house.owner and house.owner:IsValid() then buyerName = house.owner:Nick() color = Color(0, 255, 0, 255) elseif house.ownername and house.ownername ~= "" then buyerName = "Pas en ligne" color = Color(255, 0, 0, 255) else continue end local coOwners = table.concat(house.friendsname, ", ") local propPos = house.bellpos local screenPos = propPos:ToScreen() local dist = plyPos:Distance(propPos) draw.SimpleText("Propriété : " .. id, "DermaDefault", screenPos.x, screenPos.y - 45, color, TEXT_ALIGN_CENTER) draw.SimpleText("Acheteur : " .. buyerName, "DermaDefault", screenPos.x, screenPos.y - 30, color, TEXT_ALIGN_CENTER) draw.SimpleText("Copropriétaires : " .. coOwners, "DermaDefault", screenPos.x, screenPos.y - 15, color, TEXT_ALIGN_CENTER) draw.SimpleText("Distance : " .. math.Round(dist) .. " unités", "DermaDefault", screenPos.x, screenPos.y, color, TEXT_ALIGN_CENTER) draw.SimpleText("Propriété: " .. house.name .. " - Acheteur: " .. buyerName, "DermaDefault", 10, y_offset, color) y_offset = y_offset + 20 end end end)