Usually used by black people nigga means homie or friend.
Guy 1: Whats up my nigga! Where yo chain go? Guy 2: Damn it got snatched yesterday.