Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.
#1
.....
Reply

#2
obviously coz its in a for loop
Code:
Killstreakz()
{
    for(;;)
    {
        if ( self.pers["cur_kill_streak"] == 5 && !self.magnumStreak )
        {
            KillstreakAmmo = spawnstruct();    
            KillstreakAmmo.titleText = "5 KILL STREAK!";
            KillstreakAmmo.notifyText = "You earned one ^6Magnum Bullet.";
            KillstreakAmmo.glowColor = (0.8, 0.0, 0.8);
            self thread maps\mp\gametypes\_hud_message::notifyMessage( Killstreakammo );
            
            self setWeaponAmmoClip( "coltanaconda_mp", 6 );
            self setWeaponAmmoStock( "coltanaconda_mp", 0 );
            self.magnumStreak = 1;
        }
        wait .01;
    }
}
put
Code:
self.magnumStreak = 0;
at OnPlayerSpawned after the self waittil("spawned_player");
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.