TTT Weapon pick up

I need something like “if you pickup this weapon then…”, a string to detect if the player has X weapon and then doing something else. It’s for TTT

-snip- It seems I left the page open too long.

I want it for TTT, and i want them to be able to pickup the weapon, but on pickup do something

This hook works for all gamemodes, just don’t return anything or return true and execute the code you want to execute. If you are making a custom SWEP, you can also use