Nitrogen, being smaller in size can effectively from $p \pi-p \pi$ bonds with other atoms of itself and atoms of other elements with small size and high electronegativity such as oxygen and carbon. The other elements do not from $p \pi-p \pi$ bonds because of their relatively lager size.
In other words the $p$ orbital of there elements are larger in size.