Blockland Forums > Modification Help
Death and item detection
<< < (2/2)
mp7964:

--- Quote from: Placid on August 31, 2011, 09:53:02 PM ---package function GameConnection::onDeath(%client,%obj,%killer,%type,%area). %client will be the client of the person killed, %killer will be the killer.

to kick them just delete their client (not to be confused with the player)

--- End quote ---

--- Quote from: dUMBELLS on August 31, 2011, 11:16:24 PM ---As for checking whether the player is holding an item, use if(isObject(%client.player.getMountedImage(SLOT))).

--- End quote ---

Alright, thanks all :D
Navigation
Message Index
Previous page

Go to full version