local playerPed = PlayerPedId()
local interiorId = GetInteriorFromEntity(playerPed)
if interiorId ~= 0 then
local roomIndex = 0
local portalRoomTo = GetInteriorPortalRoomTo(interiorId, 0)
print("portal " .. roomIndex .. " room TO is: " .. portalRoomTo)
end