Results 1 to 4 of 4

Thread: killstreak

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    killstreak

    if player have killstreak 38 and not use award (mines) , he kills more enemy and have next killstreak 48.
    how make delete last ks?

    PHP Code:
    else if (self.pers["kill_spree"] == 38)

    wait 0.9;
        
    iprintln("^7"name +" ^7I^9s ^7o^9n ^7a ^7Kill^9ing ^7spr^9ee ^7o^9f ^237 ^7!^9!");
            
    self iprintlnbold("^2. ^7Mi^9ne ^7Pa^9ck ^2`");
            
    self thread drczolg\_puni::sq_czolg4miny();
    }
    else if (
    self.pers["kill_spree"] == 46)

    wait 0.9;
        
    iprintln("^7"name +" ^7I^9s ^7o^9n ^7a ^7Kill^9ing ^7spr^9ee ^7o^9f ^245 ^7!^9!");
            
    self thread huntyaudobriy\_shop::predator();
            
    self iprintlnbold("^2. ^7Valk^9irie ^7Roc^9ket ^2`");
    }
    else if (
    self.pers["kill_spree"] == 64)

    wait 0.9;
        
    iprintln("^7"name +" ^7I^9s ^7o^9n ^7a ^7Kill^9ing ^7spr^9ee ^7o^9f ^263 ^7!^9!");
            
    self thread mgczolg();
            
    self iprintlnbold("^2. ^7MG^942 ^2`");


  2. #2
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    Hey you can do something like:

    PHP Code:
    if(self.pers["kill_spree"] == 38)
    {  
        
    self.mine_pack true;

        
    wait 0.05;
        
    iprintln("^7"name +" ^7I^9s ^7o^9n ^7a ^7Kill^9ing ^7spr^9ee ^7o^9f ^237 ^7!^9!"); 
        
    self iprintlnbold("^2. ^7Mi^9ne ^7Pa^9ck ^2`"); 
        
    self thread drczolg\_puni::sq_czolg4miny(); 

    else
    if(
    self.pers["kill_spree"] == 46)
    {
        if(
    isDefined(self.mine_pack))
            return;
        
        
    wait 0.05
        
    iprintln("^7"name +" ^7I^9s ^7o^9n ^7a ^7Kill^9ing ^7spr^9ee ^7o^9f ^245 ^7!^9!"); 
        
    self thread huntyaudobriy\_shop::predator(); 
        
    self iprintlnbold("^2. ^7Valk^9irie ^7Roc^9ket ^2`"); 

    using
    PHP Code:
    self.mine_pack true
    but I'm not sure about this way, let someone confirm this.

  3. The Following 2 Users Say Thank You to Jeplaa For This Useful Post:

    EvoloZz (2nd April 2013),kung foo man (2nd April 2013)

  4. #3
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    ok thanks , i go test

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    self endon("killstreak_added");
    self notify("killstreak_added"); in each of your if-cases.

  6. The Following 2 Users Say Thank You to IzNoGoD For This Useful Post:

    EvoloZz (2nd April 2013),Jeplaa (2nd April 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •