Garry's Mod

Garry's Mod

Emzatins TTT Weapon Balance Mod (Innocents Buffed)
5 Comments
abc zerobyte 23 Jul, 2021 @ 12:07pm 
happy to help. forgot to note; you might also cut off the SWEP:GetHeadshotMultiplier function and just pass "return 1.5" or "return 2", cause multipliers will overlap
Emzatin  [author] 23 Jul, 2021 @ 10:43am 
thank you!
abc zerobyte 23 Jul, 2021 @ 9:53am 
it isnt weapon specific. to make it work you would need to use SWEP:ShootBullet in the shotgun code with the callback. like this: https://pastebin.com/xGsq0YHv
Emzatin  [author] 23 Jul, 2021 @ 8:54am 
oh yeah that actually sounds really cool, does this code only work for shotguns or also other weapons? Also, where exactly does this code need to be put?
abc zerobyte 23 Jul, 2021 @ 8:09am 
i played with bullet callbacks a bit and made a shotgun falloff code yesterday. i figure you could use it in your addon?


https://pastebin.com/SN7tXrnH