Garry's Mod
Sniper Glint
142 bình luận
Unaverage Joe. 22 Thg04 @ 11:26pm 
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 Thg12, 2024 @ 8:32am 
is tac-rp compatable?
oneshot:) 29 Thg12, 2023 @ 5:10pm 
can you do arc9
zxssty 27 Thg12, 2023 @ 3:44am 
does this work in single player?
Tom 15 Thg11, 2023 @ 3:05am 
Is (GDCW) supported?
Eclipse 11 Thg10, 2023 @ 11:19am 
TFA AT maybe?
ata47 27 Thg07, 2023 @ 3:16am 
Whats TFA AT
Wedge 27 Thg06, 2023 @ 1:28pm 
ARC9 is pretty similar to ARCCW code wise it wouldnt be too hard for you to do
SweptThr.one  [tác giả] 27 Thg06, 2023 @ 11:17am 
no
Wedge 27 Thg06, 2023 @ 10:19am 
Does not work with ARC9, please make it work with ARC9, thanks.
sadie! <3 27 Thg05, 2023 @ 7:59pm 
Weapon base that just has all the guns prepacked in, has some nice rifles.
SweptThr.one  [tác giả] 27 Thg05, 2023 @ 7:50pm 
I don't know what that is
sadie! <3 27 Thg05, 2023 @ 7:40pm 
TacRP support?
SweptThr.one  [tác giả] 20 Thg05, 2023 @ 11:32pm 
nah i don't know, someone just told me it already had it so i just put it there. never used arccw
snail 20 Thg05, 2023 @ 9:17pm 
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 Thg05, 2023 @ 12:20pm 
mw support ?
Tom 20 Thg02, 2023 @ 12:42pm 
I know its not listed , but would modern warfare sweps work?
Caçador 4 Thg02, 2023 @ 12:13pm 
the arccw base have this boy default????
BrainyPepper 3 Thg02, 2023 @ 6:13pm 
:steamhappy:
SweptThr.one  [tác giả] 2 Thg02, 2023 @ 8:22pm 
fixed, thank you for the report
BrainyPepper 2 Thg02, 2023 @ 7:44pm 
[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 Thg02, 2023 @ 7:44pm 
creates script errors when I look at a mirror
SweptThr.one  [tác giả] 1 Thg02, 2023 @ 2:46pm 
thanks for posting the errors you got
♬♫~Joe Blaze~♫♬ 1 Thg02, 2023 @ 2:43pm 
It creates script errors, and there's no glint, There's addon conflicts, So I removed it.
SweptThr.one  [tác giả] 1 Thg02, 2023 @ 2:18pm 
very descriptive
♬♫~Joe Blaze~♫♬ 1 Thg02, 2023 @ 5:25am 
Glitchy as heck
Caçador 13 Thg01, 2023 @ 9:19pm 
:s
Caçador 13 Thg01, 2023 @ 9:19pm 
Oh ... i'm sorry bro i did'nt see it
SweptThr.one  [tác giả] 13 Thg01, 2023 @ 9:05pm 
because i don't have to, read the description
Caçador 13 Thg01, 2023 @ 8:21pm 
BRO WHY YOU DONT RESP ME
Caçador 12 Thg01, 2023 @ 3:58am 
work with arccw base or arc9 base?
xlebio 24 Thg11, 2022 @ 4:22am 
boss, get down! the enemy sniper
Joystick 10 Thg06, 2022 @ 12:04am 
hi, can you explain, does it only work if you look towards the sun?
JJoestar 23 Thg04, 2022 @ 7:30am 
puppy 21 Thg12, 2021 @ 2:06pm 
im pretty sure it would say
andrewthenoob10123 12 Thg11, 2021 @ 10:03am 
is MW base supported
15 Thg10, 2021 @ 6:12pm 
huh, okay :( how can i debug this ? it could be very nice detail to my rp server.
SweptThr.one  [tác giả] 15 Thg10, 2021 @ 5:51pm 
oh, i'm sure it's because the base updated. again.
15 Thg10, 2021 @ 4:30pm 
i'm talking about Legacy TFA addons you made
SweptThr.one  [tác giả] 15 Thg10, 2021 @ 2:28pm 
i don't have an m9k tfa base
15 Thg10, 2021 @ 12:29pm 
Doesn't work with your M9K TFA base.
Cheese 30 Thg09, 2021 @ 3:05pm 
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 Thg07, 2021 @ 5:04am 
add compatibility with MW Base?
BrainyPepper 30 Thg05, 2021 @ 2:00pm 
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 Thg04, 2021 @ 10:00am 
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 Thg01, 2021 @ 2:28pm 
act3 act3
blazphemur 4 Thg01, 2021 @ 5:32pm 
TFA AT is just the TFA Base, AT is just a tag to show the weapon comes with attachments
Richard Boderman 20 Thg09, 2020 @ 3:56am 
does this work with TFA AT yet? or not yet?
SweptThr.one  [tác giả] 2 Thg09, 2020 @ 11:03am 
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