CommanderCallumAssuming you are using the number keys to change weapon;
bind "1" "slot1; r_drawviewmodel 0"
bind "2" "slot2; r_drawviewmodel 1"
bind "3" "slot3; r_drawviewmodel 1"
This has the primary without a viewmodel, and the secondary and melee with a viewmodel.
You then put this is your class configs, editing each one as you wish
thanks <3