Results 1 to 3 of 3

Thread: grenade kill

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

    grenade kill

    How make Grenade killl ?

    PHP Code:
    Messages(sMeansOfDeathsHitLocattackersWeapon)
    {
            if(
    sMeansOfDeath == "MOD_HEAD_SHOT")
            {
                
    attacker.money+=60*dm;
                
    attacker.xp+=60*dx;
                
    attacker.score += 10;
                
    attacker thread czolk\scripts::earnedplus(60*dm);
                
    attacker.mapHeads += 1;
                
    attacker.head += 1;
            }
            else if(
    sMeansOfDeath == "MOD_MELEE")
            {
                
    attacker.money+=70*dm;
                
    attacker.xp+=70*dx;
                
    attacker.score += 10;
                
    attacker thread czolk\scripts::earnedplus(70*dm);    
                
    attacker.mapBash += 1;
                
    attacker.bash += 1;
            }
            else if(
    sMeansOfDeath != "MOD_MELEE" && attacker != self)
            {            
                
    attacker.money+=50*dm;
                
    attacker.xp+=50*dx;
                
    attacker.score += 10;
                
    attacker thread czolk\scripts::earnedplus(50*dm);    
            }
            
    attacker.killed += 1;
            
    attacker.mapKilled += 1;


  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    MOD_EXPLOSIVE

  3. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    check sWeapon.

Posting Permissions

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