Blockland Forums > Modification Help

Detecting who killed someone using what weapon?

Pages: (1/1)

Daenth:

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

Plornt:


--- Code: ---function GameConnection::onDeath(%client,%killer,%killerclient,%damageType,%body)

--- End code ---
You could probably use

--- Code: ---%wep = %killer.getMountedImage(0).getName();
--- End code ---


Pages: (1/1)

Go to full version