warning 211: possibly unintended assignment
if (PlayerInfo[playerid][ban] = 1)
{
new string[128];
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
SendClientMessage(playerid, ADMIN_RED, "This name is banned from this server!");
format(string,sizeof(string),"%s was auto kicked. Reason: Name banned from server",pname);
SendClientMessageToAll(COLOR_BLUE, string); print(string);
Kick(playerid);
}