Closed GoogleCodeExporter closed 9 years ago
Why would you even want to see anything from DarkRP in the bottom right?
Original comment by fpeijnen...@gmail.com
on 6 Aug 2012 at 4:16
dont worry about that. The weapon doen't register the ammo, I go into F4
purchase the ammo but it doesn't work. After purchasing the ammo I can fire off
an entire clip and I can't reload. Am I editing the right files? Can you give
me an example of a custom ammo type (not the ones that are already created).
Original comment by snoopy12...@gmail.com
on 7 Aug 2012 at 5:47
bump
Original comment by snoopy12...@gmail.com
on 7 Aug 2012 at 10:34
that's not how it works here lol.
Original comment by fpeijnen...@gmail.com
on 7 Aug 2012 at 6:34
Make sure the ammo has the exact right name. Capitalization does matter.
If it still doesn't work, contact the SWEP creator.
Original comment by fpeijnen...@gmail.com
on 7 Aug 2012 at 7:17
Ok this is my code for ammotypes.lua
GM:AddAmmoType("rifle", "Rifle ammo", "models/Items/BoxMRounds.mdl", 80, 40)
Then in madcows AK47
SWEP.Primary.ClipSize = 30 // Size of a clip
SWEP.Primary.DefaultClip = 30 // Default number of bullets in a clip
SWEP.Primary.Automatic = true // Automatic/Semi Auto
SWEP.Primary.Ammo = "rifle"
In theory this should work, am I correct or am I forgetting to edit a file?
Original comment by snoopy12...@gmail.com
on 8 Aug 2012 at 4:59
Original issue reported on code.google.com by
snoopy12...@gmail.com
on 6 Aug 2012 at 4:03