Fixed an issue breaking the "lastinv" command

Fixed an issue preventing the "lastinv" command from working as expected when the pocket swep is the active weapon
Fixed an issue breaking the "lastinv" command

Fixed an issue preventing the "lastinv" command from working as expected when the weaponchecker swep is the active weapon
standardized code in last pull request and fixed a regression where the viewmodel would shortly appear when selecting either pocket or weapon checker