Garry's Mod

Garry's Mod

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