Blockland Forums > Modification Help
Detecting who killed someone using what weapon?
(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 ---
Navigation
Message Index

Go to full version