Garry's Mod

Garry's Mod

Not enough ratings
Disable flashlight
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Roleplay
File Size
Posted
360.000 B
23 Jun, 2023 @ 10:25am
1 Change Note ( view )

Subscribe to download
Disable flashlight

In 1 collection by 󠀡𝅵󠀡𝅷
By blnk
9 items
Description
Prevents default flashlight to be turned on.
The addon requested by my friend, no pastebin unmalwared code proof, so I'll just leave source code here:
hook.Add("PlayerBindPress", "DisableFlashlight", function(ply, bind, pressed) if bind == "impulse 100" then return true end end)
10 Comments
󠀡𝅵󠀡𝅷  [author] 3 Nov, 2024 @ 8:20pm 
yw
SealWX 3 Nov, 2024 @ 8:02am 
most useful mod ever, thank you so much bro
Troy 14 Aug, 2024 @ 5:24am 
Lol yeah true
󠀡𝅵󠀡𝅷  [author] 5 Aug, 2024 @ 4:04am 
that would be too easy, you know?
Troy 22 Dec, 2023 @ 1:13pm 
mp_flashlight 0

Is also an option!
󠀡𝅵󠀡𝅷  [author] 7 Jul, 2023 @ 11:55pm 
good luck in learning
󠀡𝅵󠀡𝅷  [author] 7 Jul, 2023 @ 11:55pm 
because roblox uses lua too
wildwyatt87 7 Jul, 2023 @ 11:48pm 
maybe i'll learn gmod lua soon and glua if i can learn it in a week
wildwyatt87 7 Jul, 2023 @ 11:48pm 
OH ITS A MODIFIED VERSION OHHH
wildwyatt87 7 Jul, 2023 @ 11:48pm 
why does the code remind me of roblox