Anyway to spawn with a set amount for SWEP.Primary.ClipMax?
2 replies, posted
The size of the clip can be modified, as can how filled it is on spawn; however, is there any way to adjust the amount spawned with for the "reserve ammo?"
[lua]SWEP.Primary.ClipSize = 5
SWEP.Primary.ClipMax = 10
SWEP.Primary.DefaultClip = 5[/lua]
Something like, [lua]SWEP.Primary.DefaultClipMax[/lua]? That's as best as I can describe it; Google only netted links to building a SWEP, found no mention of anything like this.
DefaultClip is the reserve ammo.
[QUOTE=code_gs;48902586]DefaultClip is the reserve ammo.[/QUOTE]
Ah, I see.
Any value higher than ClipSize gets added over to the reserve ammo. Thanks, never knew that.
Sorry, you need to Log In to post a reply to this thread.