The NBA has a unique, soccer-style method to combat offensive fans. Reddit user put_bacon_on_it posted a picture of a warning card his/her friend received at a recent game.
According to the card, the offender had violated the NBA Fan Code of Conduct. It was delivered due to inappropriate gestures or language directed at players, fans, referees or any other NBA official. After receiving a conduct card a fan can be ejected from the arena for any further transgression.
The NBA should take another page from soccer and start issuing similar cards to players. It would be a sure-fire way to cut down on flopping.