beastmaster
New Member
- Reaction score
- 0
Hi is there anyway to make your wc3 map ban people/or kick them from your game? like when a player named "xxxx" is in game action: remove player from game?
E: MapInit
C: Nothing
A: set Bans[1] = "Rudolf"
set Bans[2] = "Rüdiger"
set Bans[3] = "nEmo"
set max_bans = 3
Pick every Player in AllPlayers and do
For Integer a from 1 to max_bans do
if PlayerName(Player(Integer A)) == Bans[Integer A] then
RemovePlayer(Player(Integer A))
Very true, even changing one letter to a capital whilst logging in will render the code useless.I wouldn't think that would work very well though, maybe it would the first time, but considering they could just add a character or alter their name very slightly and it would nullify your code...
Third party programs are not distributeable via the helper, its in the rules.Rather just get a kick system.
While that's true, I don't think he meant a 3rd party tool. Kick System:Third party programs are not distributeable via the helper, its in the rules.