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