Help with slam mines

Hello, I was wondering, what flags do I have to set when spawning a S.L.A.M mine that make it so when a player right clicks it sets it off? I looked at the official valve wiki but there is no entry for it >_>

You can’t modify c-weapons.

Um, yea he can.
Not with modifying C but he can have a hook that checks if the player pressed right click and if he did is he looking at a SLAM and is he close to it and if he is, just make a simple boom and remove.

that’s not what I am trying to do, I am trying to assign slam mine entities to players as if they threw them

Entity:SetOwner(Player) Maybe