I'm a heterosexual white man and I also have black friends and gay friends and I would find it offensive if someone called them the N word or a fag or whatever
But sometimes the friends find some of the jokes etc funny I think it has a lot to do with how it's said and whose saying it