Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Lethal Slot
#1
Since we are able to set the weapons and equipment + perks via ServerClient.Other.
i want to request to add a Function to set the lethal slot.
Reply

#2
Also OnPlayerDamage(/**/) is bugged with the throwing knife:
I typed this in that callback:
Code:
ServerPrint(translate(Attacker.Team)+" hit "+translate(Victim.Team)+" with a "+Weapon+". Damage:"+Damage);
Code:
private String translate(Teams t)
        {
            if (t == Teams.FFA)
                return "FFA";
            if (t == Teams.Axis)
                return "Axis";
            if (t == Teams.Allies)
                return "Allies";
            if (t == Teams.Spectator)
                return "Spectator";
            return "Unknown";
        }

As I (i was in axis) throw my Throwing knife at somebody who was in allies, i got this logged in the console:
Code:
Allies hit Allies with a throwingknife_mp. Damage:135


EDIT: Spelling mistake Wink
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up [Release] Reserved Slot Plugin v1.1c milchshake 40 26,901 05-01-2012, 13:23
Last Post: hillbilly
  [Request] Giving perks or equipments/lethal nades Eekhoorn 9 4,591 07-18-2011, 16:37
Last Post: iAegle
  Unlimited Lethal Ammo? Shadow771 1 1,878 12-01-2010, 09:56
Last Post: Deathmax

Forum Jump:


Users browsing this thread:
1 Guest(s)

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