I can’t find how to do this using the documentation as there is no hook for when the player switches a weapon.
The only way I can think of: take weapon switching into my own hands by giving and taking weapons when a certain button is pressed. Any ideas?
Edit: By the way, I’m using default weapons. SWEPs do have a deploy hook.