gg_nade_bonus, give weapon with 7 shells
Posted: Mon Jan 23, 2012 5:31 am
Hi!
I want to change included addon named gg_nade boonus just one thing - giving weapon not with full ammo, just 7 shells (full charge in Desert Eagle). I find this:
/gungame51/scripts/included/gg_nade_bonus/gg_nade_bonus.py, 335
I add this below
But it says, that ggPlayer is not instance of Playerlib, and haven't that method.
Help me do this, please! Thanks for answering!
I want to change included addon named gg_nade boonus just one thing - giving weapon not with full ammo, just 7 shells (full charge in Desert Eagle). I find this:
/gungame51/scripts/included/gg_nade_bonus/gg_nade_bonus.py, 335
ggPlayer.give(weapon, False, True)
I add this below
ggPlayer.setAmmo(weapon, 7)
But it says, that ggPlayer is not instance of Playerlib, and haven't that method.
Help me do this, please! Thanks for answering!