We present the first results from simulations of processes leading to planet formation in protoplanetary disks with different metallicities. For a given metallicity, we construct a two-dimensional grid of disk models with different initial masses and radii ($M_0$, $R_0$). For each disk, we follow the evolution of gas and solids from an early evolutionary stage, when all solids are in the form of small dust grains, to the stage when most solids have condensed into planetesimals. Then, based on the core accretion - gas capture scenario, we estimate the planet-bearing capability of the environment defined by the final planetesimal swarm and the still evolving gaseous component of the disk. We define the probability of planet-formation, $P_p$, as the normalized fractional area in the ($M_0$, $log R_0$) plane populated by disks that have formed planets inside 5 AU. With such a definition, and under the assumption that the population of planets discovered at $R$ $<$ 5 AU is not significantly contaminated by planets that have migrated from $R$ $>$ 5 AU, our results agree fairly well with the observed dependence between the probability that a star harbors a planet and the stars metal content. The agreement holds for the disk viscosity parameter $alpha$ ranging from $10^{-3}$ to $10^{-2}$, and it becomes much poorer when the redistribution of solids relative to the gas is not allowed for during the evolution of model disks.