[DarkRP] Mad Cows Weapons spawn with a single clip
2 replies, posted
Hi,
I downloaded Mad Cows Weapons for my DarkRP server. The problem is, all weapons start with a single clip (30 bullets, no extra ammo). If I edit [i]DarkRP/gamemode/shared.lua[/i], and add "ent_mad_ammo_50" to the weapons you spawn with, it just spawns the ammo next to you.
So, basically, is there a way to make you have 3 clips of ammo when you spawn?
Example :
[code]
TEAM_ADMIN = AddExtraTeam("Super Admin", Color(25, 25, 170, 255), "models/player/combine_super_soldier.mdl", [[Govern the server, and demolish evil-doers.]], {"arrest_stick", "unarrest_stick", "weaponchecker", "weapon_mad_deagle", "ent_mad_ammo_50", "ent_mad_ammo_50", "ent_mad_ammo_50"}, "superadmin", 8, 0, 2, false, true)
[/code]
The above makes the ammo spawn next to you.
Thanks
Sounds like the ammo is maxed out. Find the weapon's lua and change the starting ammo from there. Don't spawn clips.
Thanks! Got it fixed.
EDIT : Fixed by changing "SWEP.Primary.DefaultClip" from '7' to '42'
in [i]addons/Mad Cows Weapons/lua/weapons/weapon_mad_deagle/shared.lua[/i]
Sorry, you need to Log In to post a reply to this thread.