We present ab initio calculations (DFT and SOC-G0W0) of the optoelectronic properties of different hybrid-halide perovskites, namely X-PbI3 (X = methylamonimum, formamidinium, guanidinium, hydrazinium, and hydroxylammonium). These calculations shed new light on how the substitution of different organic cations in the material influences its optoelectronic properties. Our simulations show a significant modification of the lattice parameter and band gap of the material upon cation substitution. These modifications are not only due to steric effects but also due to electrostatic interactions between the organic and inorganic parts of the material. In addition to this, we demonstrate how the relative orientations of neighboring cations in the material modify the local electrostatic potential of the system and its fundamental band gap. This change in the band gap is accompanied by the formation of localized and spatially separated electronic states. These localized states modify the carrier mobility in the materials and can be a reason for the formation and recombination of the charge carriers in these very promising materials.