Author Topic: Detecting who killed someone using what weapon?  (Read 283 times)

How would you detect who killed someone while using what weapon?

Code: [Select]
function GameConnection::onDeath(%client,%killer,%killerclient,%damageType,%body)
You could probably use
Code: [Select]
%wep = %killer.getMountedImage(0).getName();