swep primary attack release.

I have this swep, and I’m marking targets and saving them in a table for later use, but I want to “Activate” the weapon when the primary attack key is released. How would I do this ?

Do I need to use this :

Never done sweps before only gamemodes…

Since you want to detect a player’s keypresses you will need to use the player library.

I think this is what you need :


Thanks, but is this as fast as hooking the gamemode key release ? because now I just put it in think I guess ?