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 :
[url]http://wiki.garrysmod.com/?title=Gamemode.KeyRelease[/url]
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 :
[b][url=wiki.garrysmod.com/?title=Player.KeyReleased]Player.KeyReleased [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Thanks, but is this as fast as hooking the gamemode key release ? because now I just put it in think I guess ?
Sorry, you need to Log In to post a reply to this thread.