Author Topic: Open Tools Gui (Server-side) [Solved]  (Read 688 times)

I've found the function to change the number of tool slots: commandToClient(%client,'PlayGui_CreateToolHud',%maxTools);. My issue, however, is that when it's called the Gui closes. Is there a way to keep it open or reopen it?
« Last Edit: November 26, 2014, 02:40:43 PM by tommybricksetti »

commandToClient(%client, 'SetScrollMode', $SCROLLMODE_TOOLS);

Code: [Select]
commandToClient(%client,'PlayGui_CreateToolHud',%maxTools);
commandToClient(%client,'SetScrollMode',$SCROLLMODE_TOOLS);
commandToClient(%client,'SetActiveTool',%obj.currTool);
This worked, thanks!