It’s pretty common to have a separate special model for tight interiors like cars and cockpits.
That enables you to precisely align the player so his arm and feet don’t poke out.
If you try to avoid that approach then your setup is extremely sensitive to animations and alignments.
Also, when you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly