Instead of giving them the tools, modify the minigame to give them the tools automatically. This stops that loud beep when they spawn.
function gameConnection::setDefaultTools(%client)
{
if(isObject($DefaultMinigame))
{
%count = getWordCount(%client.toolsList);
for(%a = 0; %a < %count; %a++)
{
%tool = getWord(%client.toolsList, %a);
if(isobject(%tool))
$DefaultMinigame.StartEquip[%a] = nametoID(%tool);
else
$DefaultMinigame.StartEquip[%a] = 0;
}
}
}
Modify the above code to work with a client-specific list of tools and modify the code to work with the default minigame, whatever you want it to be.
package SpawnTools
{
function gameConnection::spawnPlayer(%client)
{
%client.setDefaultTools();
parent::SpawnPlayer(%client);
}
};
activatePackage(SpawnTools);