How will this affect anybody who has cosigned a loan for me?

He will remain liable for the loan. Your filing bankruptcy does not increase or decrease his liability to the bank because he also promised to pay the bank.