Author Topic: Finding the weapon that caused damage?  (Read 714 times)

Hello. I'm working on a gamemode with a kill-feed that shows weapon names instead of their icons. I just don't know a function that has a parameter of the weapon that is causing damage. Any help?

Player::damage, Armor::damage and GameConnection::onDeath have a damage type array index argument.

Which parameter is it on the GameConnection::onDeath?

Second last one, IIRC.