new weapon = GetPlayerWeapon( playerid ); switch ( weapon ) { case WEAPON_MINIGUN, WEAPON_FLAMETHROWER: { Ban( playerid ); } }