I cant open my tool gui but when I say canvas.pushDialog("Tools"); it pops up so I don't know what to do.
Here is the code in teh Client.cs:
//Load the Gui
exec("./Tools.gui");
//Bind the Gui
if(!$ToolsBind)
{
$remapDivision[$remapCount] = "Tools";
$remapName[$remapCount] = "Tool Gui";
$remapCmd[$remapCount] = "toggleToolGui";
$remapCount++;
$ToolsBind = 1;
}
//Open / close the Gui
function toogleToolGui()
{
canvas.pushDialog(Tools);
}
So can someone help me? Please?