Discord
Steam
/
Developers
/
DarkRP i cant ..
Login/Join
Event Log
DarkRP i cant get the pack a punch upgrades to work..
2 replies, posted
Search
In This Thread
I have installed the addon pack a punch and whenever i upgrade my weapons the only thing that actually changes is the clip size but all the other upgrades wont work.. Here are the upgrades.. npc_config:add({ name = "10% Reduction in recoil", icon = "icon16/joystick.png", stack = 2, price = 500, func = function( wep ) wep:streamVariable( "Recoil", wep.Primary.Recoil * .9 ); end, }) npc_config:add({ name = "10+ Capacity of cartridges", icon = "icon16/box.png", stack = 1, price = 600, func = function( wep ) wep:streamVariable( "ClipSize", wep.Primary.ClipSize + 10 ); end, }) npc_config:add({ name = "+5% Damage", icon = "icon16/bomb.png", stack = 3, price = 500, func = function( wep ) wep:streamVariable( "Damage", wep.Primary.Damage * 1.02 ); end, }) npc_config:add({ name = "Weapon color", icon = "icon16/rainbow.png", stack = 1, price = 500, func = function( wep ) wep:SetNWBool("rainbow", true) end }) Please help me!
Next time please put the code in code tag
Alright I added it.
Sorry, you need to
Log In
to post a reply to this thread.