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