Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("KeyPress", "aeoBeam", function(ply, key)
- if key == IN_ATTACK2 then
- local wep = ply:GetActiveWeapon()
- if wep:IsValid() and wep:GetClass() == "weapon_357" then
- ply:Cexec("pac_event somename 1")
- end
- end
- end)
- hook.Add("KeyRelease", "aeoBeam", function(ply, key)
- if key == IN_ATTACK2 then
- local wep = ply:GetActiveWeapon()
- if wep:IsValid() and wep:GetClass() == "weapon_357" then
- ply:Cexec("pac_event somename 0")
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment