Author Topic: GUI not working  (Read 1429 times)

I read a tutorial how to make GUIs, but it won't work. It also doesn't show the keybind.
The GUI is a To-do list, by the way.
Link: http://www.mediafire.com/?lay0b97f7z9cp95
« Last Edit: September 29, 2013, 07:47:53 PM by Hawt »

Got any more info other than "it doesn't work"? Great description of the problem there.

todolist.gui.gui change rename to todolist.gui


todolist.gui.gui change rename to todolist.gui
Do I change the todolist.gui to todolist on the code on the client.cs?

Code: [Select]
exec("./todolist.gui");

    $remapDivision[$remapCount] = "Todo List";
    $remapName[$remapCount] = "Todo List";
    $remapCmd[$remapCount] = "Open_Todolist";
    $remapCount++;

function TodolistButtonPush()
{

}
« Last Edit: October 02, 2013, 04:35:23 PM by Hawt »

Do I change the todolist.gui to todolist on the code on the client.cs?

Code: [Select]
exec("./todolist.gui");

    $remapDivision[$remapCount] = "Todo List";
    $remapName[$remapCount] = "Todo List";
    $remapCmd[$remapCount] = "Open_Todolist";
    $remapCount++;

function TodolistButtonPush()
{

}

Pretty sure that's fine.

Do I change the todolist.gui to todolist on the code on the client.cs?
Not on client.cs It's on todolist.Gui, not inside the script.


Still not working
Did you even look in the console?

I tested your script and I'm surprised no one noticed that the "description.txt" is actually "description.txt.txt". And same goes for the .gui.gui that Furling pointed out.

You have a misunderstanding about file extensions. You either have to change options on your OS to display file extensions or you have to change it in the file's Properties.

Now when you try to open the GUI you will get console errors, and I can't help you with that.