Making a Gary's Mod Model a Hat in TF2

Could anyone help me take a model from garrys mod and port it over to Tf2 and make it a hat.