Garry's Mod

Garry's Mod

Sniper Glint
142 kommentarer
Unaverage Joe. 22. apr. kl. 23.26 
No idea if this addon is still updated but wgetjane discovered this a while back.

Most scoped/zoom weapons in TTT will utilize the wep.SetZoom() function, if you could check for:
wep.GetIronsights (player is ADSing),
wep.SetZoom (weapon is able to zoom in),
ply:GetFOV (weapon has high enough magification),
you can somewhat decently check if a TTT weapon has a scope.

Here's what I've used: wep.Base == "weapon_tttbase" and ( wep.GetIronsights and wep:GetIronsights() and (wep.SetZoom and ply:GetFOV() <= 20))
unlikeaboss 24. des. 2024 kl. 8.32 
is tac-rp compatable?
oneshot:) 29. des. 2023 kl. 17.10 
can you do arc9
zxssty 27. des. 2023 kl. 3.44 
does this work in single player?
Tom 15. nov. 2023 kl. 3.05 
Is (GDCW) supported?
Eclipse 11. okt. 2023 kl. 11.19 
TFA AT maybe?
ata47 27. juli 2023 kl. 3.16 
Whats TFA AT
Wedge 27. juni 2023 kl. 13.28 
ARC9 is pretty similar to ARCCW code wise it wouldnt be too hard for you to do
SweptThr.one  [skaper] 27. juni 2023 kl. 11.17 
no
Wedge 27. juni 2023 kl. 10.19 
Does not work with ARC9, please make it work with ARC9, thanks.
sadie! <3 27. mai 2023 kl. 19.59 
Weapon base that just has all the guns prepacked in, has some nice rifles.
SweptThr.one  [skaper] 27. mai 2023 kl. 19.50 
I don't know what that is
sadie! <3 27. mai 2023 kl. 19.40 
TacRP support?
SweptThr.one  [skaper] 20. mai 2023 kl. 23.32 
nah i don't know, someone just told me it already had it so i just put it there. never used arccw
snail 20. mai 2023 kl. 21.17 
Hello! It mentions that ARCCW already has a Scope Glint thing, I can't seem to find it can you help me out?
JJoestar 6. mai 2023 kl. 12.20 
mw support ?
Tom 20. feb. 2023 kl. 12.42 
I know its not listed , but would modern warfare sweps work?
Caçador 4. feb. 2023 kl. 12.13 
the arccw base have this boy default????
BrainyPepper 3. feb. 2023 kl. 18.13 
:steamhappy:
SweptThr.one  [skaper] 2. feb. 2023 kl. 20.22 
fixed, thank you for the report
BrainyPepper 2. feb. 2023 kl. 19.44 
[Sniper Glint] lua/autorun/sh_scope_glint.lua:30: attempt to index global 'self' (a nil value)
1. v - lua/autorun/sh_scope_glint.lua:30
2. unknown - lua/includes/modules/hook.lua:96
BrainyPepper 2. feb. 2023 kl. 19.44 
creates script errors when I look at a mirror
SweptThr.one  [skaper] 1. feb. 2023 kl. 14.46 
thanks for posting the errors you got
♬♫~Joe Blaze~♫♬ 1. feb. 2023 kl. 14.43 
It creates script errors, and there's no glint, There's addon conflicts, So I removed it.
SweptThr.one  [skaper] 1. feb. 2023 kl. 14.18 
very descriptive
♬♫~Joe Blaze~♫♬ 1. feb. 2023 kl. 5.25 
Glitchy as heck
Caçador 13. jan. 2023 kl. 21.19 
:s
Caçador 13. jan. 2023 kl. 21.19 
Oh ... i'm sorry bro i did'nt see it
SweptThr.one  [skaper] 13. jan. 2023 kl. 21.05 
because i don't have to, read the description
Caçador 13. jan. 2023 kl. 20.21 
BRO WHY YOU DONT RESP ME
Caçador 12. jan. 2023 kl. 3.58 
work with arccw base or arc9 base?
xlebio 24. nov. 2022 kl. 4.22 
boss, get down! the enemy sniper
Joystick 10. juni 2022 kl. 0.04 
hi, can you explain, does it only work if you look towards the sun?
JJoestar 23. apr. 2022 kl. 7.30 
puppy 21. des. 2021 kl. 14.06 
im pretty sure it would say
andrewthenoob10123 12. nov. 2021 kl. 10.03 
is MW base supported
15. okt. 2021 kl. 18.12 
huh, okay :( how can i debug this ? it could be very nice detail to my rp server.
SweptThr.one  [skaper] 15. okt. 2021 kl. 17.51 
oh, i'm sure it's because the base updated. again.
15. okt. 2021 kl. 16.30 
i'm talking about Legacy TFA addons you made
SweptThr.one  [skaper] 15. okt. 2021 kl. 14.28 
i don't have an m9k tfa base
15. okt. 2021 kl. 12.29 
Doesn't work with your M9K TFA base.
Cheese 30. sep. 2021 kl. 15.05 
does it work with TFA base well? it doesnt seem to work that good with my friends and I on our own games
Winn 5. juli 2021 kl. 5.04 
add compatibility with MW Base?
BrainyPepper 30. mai 2021 kl. 14.00 
Could you do a mod that shows this glint whenever someone looks at you with their flashlight on? For use with third-person flashlights, of course.
Counterfeit 2. apr. 2021 kl. 10.00 
It worked but even if I was on the other side of the map the glint was three times bigger than me
λ LIFE IS PAIN! λ 22. jan. 2021 kl. 14.28 
act3 act3
blazphemur 4. jan. 2021 kl. 17.32 
TFA AT is just the TFA Base, AT is just a tag to show the weapon comes with attachments
Richard Boderman 20. sep. 2020 kl. 3.56 
does this work with TFA AT yet? or not yet?
SweptThr.one  [skaper] 2. sep. 2020 kl. 11.03 
god forbid we do things the right way

updated to fix, but i can't be bothered to test it right now so just let me know if it's still broken