Author Topic: Differentiate between knife throw/stab in onplayerkill/damage  (Read 738 times)

0 Members and 1 Guest are viewing this topic.

DarkCrusade

  • Guest
It would make a lot of things much easier to write. There are various projects where this would have helped me heaps!

Offline TheOne

  • Soldier
  • **
  • Posts: 208
Re: Differentiate between knife throw/stab in onplayerkill/damage
« Reply #1 on: May 14, 2013, 11:29:23 am »
I think the knife-stabbing needs a completely new concept.

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1631
  • Soldat's Babysitter
    • Website
Re: Differentiate between knife throw/stab in onplayerkill/damage
« Reply #2 on: May 15, 2013, 12:23:15 pm »
I agree that you should be able to do this.
Not sure how much work it is though.

Maybe Falcon has an idea.
Rules
Tools: ARSSE - SARS - SRB - chatMod

DarkCrusade

  • Guest
Re: Differentiate between knife throw/stab in onplayerkill/damage
« Reply #3 on: May 17, 2013, 07:51:39 am »
Mighty found a nice work-around by using the dealt damage as a source of information for a knife-only server, but it cannot be the only possibility and it is a bit trickier, and especially for people who are new to server scripting.