Let 1 ≤ m ≤ n be two fixed integers. Let Ω ⋐ C n be a bounded m-hyperconvex domain and A ⊂ Ω×]0, +∞[ a finite set of weighted poles. We define and study properties of the m-subharmonic Green function of Ω with prescribed behaviour near the weighted set A. In particular we prove uniform continuity of the exponential Green function in both variables (z, A) in the metric space Ω × F, where F is a suitable family of sets of weighted poles in Ω×]0, +∞[ endowed with the Hausdorff distance. Moreover we give a precise estimates on its modulus of continuity. Our results generalize and improve previous results concerning the pluricomplex Green function du to P. Lelong.