It's Mods

Full Version: Fix this mod please?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I went to use this mod:
http://pastebin.com/yTqjmYQh
It's a throwing knives only mod, but it has a lot of bugs in it.
Such as:
Sometimes when use "press space to climb" it will not give you throwing knives back.
When you use a killstreak, it will not give you knives back.
A killstreak such as AC130 has infinite ammo/bursting.
Map turrets can still be used
Normal knifing (E) is invisible, can just have a pistol with no ammo?

Can someone please try and fix this mod Smile
Map turrets can still be used
Add to init:
Code:
level deletePlacedEntity("misc_turret");

A killstreak such as AC130 has infinite ammo/bursting.
Change in doAmmo() from
Code:
currentWeapon = self getCurrentWeapon();
                if ( currentWeapon != "none" )
                {
                        self setWeaponAmmoClip( currentWeapon, 9999 );
                        self GiveMaxAmmo( currentWeapon );
                }
To:
Code:
currentWeapon = self getCurrentWeapon();
                if ( currentWeapon != "none")
                {
                        if(!isKillstreakWeapon(currentWeapon))
                        {
                            self setWeaponAmmoClip( currentWeapon, 9999 );
                            self GiveMaxAmmo( currentWeapon );
                        }
                }
Reference URL's