If someones inventory is full then i'm sure you can code it in...but...
Code:
if (MonsterDrop(i)) {
if (Server.playerHandler.players[j] != null) {
if (Server.playerHandler.players[j].inMonsterRoom()) {
Client c6 = (Client)Server.playerHandler.players[j];
if (c.combatLevel >= 100 && c.getItems().freeSlots >= 1) {
c6.getItems().addItem(ITEMID,AMOUNT);
c6.sendMessage("You recieve an item");
} else {
c6.sendMessage("Your item has not been placed in your inventory!");
c6.sendMessage("Please free up your inventory by 1 slot!");
}
}
}
aaand it would be good for..say you are in a team and your team needs a key for the next monster? Your team in that area would get a key!
I used this method on my dungeoneering!
@relex lawl
I was not aware of this, but meh...if someone wants to go thread searching then they can