SWEP has 9999 ammo.

I uploaded an AWP to a deathrun server I run. However, as the title says players receive infinite ammo and instant reloads.

AWP: http://steamcommunity.com/sharedfiles/filedetails/?id=377152181
AWP Code: http://pastebin.com/SwH9EUZQ

I’ve tried everything I know about SWEP’s and what I could find. The ClipSize and DefaultClip are mirrored, so I don’t know what else to do.
Lastly, I put a function in the SWEP base.

Function: http://pastebin.com/NnDavc1p
SWEP Base: http://pastebin.com/M4GsPgDj

Hopefully someone can fix this issue.

Deathrun typically has Infinite ammo enabled by default either through a ConVar or in the init of the gamemode itself. Look for it and disable it.

Instant reloads, last time I saw this it was because CS:S wasn’t mounted on the server.
Is CS:S mounted on the server?

Yes.

I looked around the deathrun files like Aeternal said. I figured it out, there was a line of code that gave players 100000 ammo if the primary ammo was “none.”

Thanks ( ͡° ͜ʖ ͡°)