• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix this mod please?
#1
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
  Reply
#2
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 );
                        }
                }
[Image: azuw.jpg]
[-] The following 2 users say Thank You to zxz0O0 for this post:
  • surtek, Yamato
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)