Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix this mod please?
05-31-2012, 10:16
Post: #2
RE: Fix this mod please?
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]
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 2 users say Thank You to zxz0O0 for this post:
surtek (05-31-2012), Yamato (05-31-2012)
Post Reply 


Messages In This Thread
Fix this mod please? - eprocure - 05-31-2012, 08:32
RE: Fix this mod please? - zxz0O0 - 05-31-2012 10:16

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder