I'm trying to change the Lua code so when I fire my SWEP the ragdoll doesn't go a thousand feet.
Here's the excerpt of the script.
[code]SWEP.Primary.Damage = 29
SWEP.Primary.Recoil = 5
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0.037
SWEP.Primary.ClipSize = 7
SWEP.Primary.Delay = 0.09
SWEP.Primary.Force = 0.01
SWEP.Primary.DefaultClip = 7
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "sniperpenetratedround"[/code]
I'm assuming I put "SWEP.Primary.Force" in the right spot. It's properly tabbed too. I put "0.01" to test the force. He still goes a bazillion feet. The GMod Wiki didn't help, that's where I got the script for the change of force from.
Help would be appreciated!
I need some help still. :l
It's really bugging me.
Have you tried it against props and NPC's?
Sorry, you need to Log In to post a reply to this thread.