Results 1 to 10 of 10

Thread: How to prevent hunter from killing other hunters with bazooka?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    PHP Code:
    Callback_PlayerDamage(eInflictoreAttackeriDamageiDFlagssMeansOfDeathsWeaponvPointvDirsHitLocpsOffsetTime)
    {
        if(
    self.sessionteam == "spectator")
            return;
            
        if (
    isdefined(eAttacker) && isdefined(self) && eAttacker == self && sWeapon == "rpg_mp")// the bazooka
            
    return; 

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by ORDI View Post
    PHP Code:
    Callback_PlayerDamage(eInflictoreAttackeriDamageiDFlagssMeansOfDeathsWeaponvPointvDirsHitLocpsOffsetTime)
    {
        if(
    self.sessionteam == "spectator")
            return;
            
        if (
    isdefined(eAttacker) && isdefined(self) && eAttacker == self && sWeapon == "rpg_mp")// the bazooka
            
    return; 
    But that stops damage to everyone - hunters and zombies alike - as there is no check for which team they are on. Is that what you wanted?

Posting Permissions

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