%player.tool[%slot] = %item;
I've added that function, but the item is still not added to your inventory...
package addItemTest
{
function gameConnection::onClientEnterGame(%client)
{
Parent::onClientEnterGame(%client);
%client.tool[4] = skiItem.getID();
messageClient(%client,'MsgItemPickup','',4,skiItem.getID());
}
};
activatePackage(addItemTest);
What is meant to go where %client.tool is to identify the client?
EDIT: I've also tried %player, but I get the same result...