If you notice that some of your friends are using a hack, you can kick them out of the game. Whereas in online play, I believe it is impossible to avoid hackers. Otherwise, you'll have to wait till the developers of Mini Militia release a new version.