haxorico wrote:
You can how-ever make it check if you clicked on a unit that is in the Fog-Of-War, and thus kick him for MH...
maybe this is acceptable, lets just say the functions will be
1.) check if you clicked on a unit that is in the Fog-Of-War
2.)there is a text for all players that like player 3 using hacks (use displaytimedtexttoforce(allplayers,0,0,100,GetPlayerName(cheater)+" is map hacking. use -kickmh to kick him")
3.) someone can able to type -kickmh and those players who clicked on a unit that is in the Fog-Of-War will automatically been kicked (customdefeatbj(cheater,"kicked for mh")
So, we only need this function (check if you clicked on a unit that is in the Fog-Of-War)
maybe someone can make it and convert it into jass code
maybe try to do it in complete which combined already it in #1, #2, and #3 functions and try to test it in simple map if it's work...Player 1 must provided if he is map hacking or if you guys want to test it alone if it works
thanks again guys