Not a great picture but here are some code-friendly Simpson screws I use interchangeably with nails in Simpson hangers (again, confirm with local building inspector first):
View attachment 641662
View attachment 641663
Screws to be careful about are the generic "deck" or "construction" screws, the ones you see with a star drive and green or tan paint. They are great screws and I use them a lot, but they will not pass for nails in most all cases. In some cases (pullout load) they are superior to nails, and I used them on roof purlins of a pole barn several times. For shear load they are OK but not rated like a framing nail. So be careful with those in any application where they are used.
I am in love with the new breed of structural lag screws like these GRK screws Lowes sells:
View attachment 641665
Many of these are rated for structural use and so much nicer than traditional lag bolts.