I added the code to it, and tried it, but it doesn't help the issue,
so I tried to add something else to it, like this:
function Minigame::onStart(%this,%data)
{
commandToClient(%this.client,'PlayGui_CreateToolHud',%data.maxTools);
Parent::onStart(%this,%data);
}
function Minigame::onEnd(%this,%data)
{
commandToClient(%this.client,'PlayGui_CreateToolHud',%data.maxTools);
Parent::onEnd(%this,%data);
}
I have no idea if this works, or if this is bullstuff, so if you guys know if this is right (or wrong), please tell me
it might be bullstuff because creating a minigame is serversided and not clientsided :P