ItsMods

Full Version: .
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
.....
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");