The ban and kick script are the same:
TargetName = "NAMEHERE";
scode = format ['serverCommand "#exec ban %1";', TargetName];
player setVehicleInit scode;
processInitCommands;
clearVehicleInit player;
hint "The target player has been banned!";
scode = nil;
TargetName = nil;
is the ban one but it doesnt ban the player.
Only the kick one works and its basically the same. It doesn't ban people. Why not all it is it exec ban is chaned to kick but the kick one works?