function Player::setItem(%this,%item) {
if(isObject(%this)) {
%player.tool[0]=GunItem.getID();
messageClient(%this.client,'MsgItemPickup','',0,GunItem.getID());
}
}
Adds the item image to the inventory, but scrolling over it does nothing, just shows whatever item was used in the slot before.