How to make weps not pick up on walk

Well im looking for help or a snippet of code to make my weapons only be able to be picked up on USE not when you walk over them any help guys?

Pick your already answered thread :

And that’s just from the first page of results, next time please search before making a new thread.

And what do i do with that code? put in note pad?