| Blockland Forums > Modification Help |
| [Tutorial] Making a Gui |
| << < (15/30) > >> |
| Blockbuilder321:
A little help with the key bindings please. --- Code: ---exec("./Testgui.gui"); moveMap.bind(keyboard, "m", pushTestgui); function testcommand() { MessageBoxOK("Thanks!","You have just pressed a button on a test GUI!"); } --- End code --- Sorry but I just don't want it like that ^^^ So... I tried to use a different method --- Code: ---exec("./Testgui.gui"); if (!$TestGuiBindings) { $remapDivision[$remapCount] = "Test Gui"; $remapName[$remapCount] = "Activate/Deacticate"; $remapCmd[$remapCount] = "TestGuiToggle"; $remapCount++; $TestGui=true; } --- End code --- This worked many times for me making avatar changers. Some reason it doesn't work the same way for my gui. It doesn't show up in the option/controls menu. Is this normal for guis? |
| AGlass0fMilk:
Use Randy's support script for key bindings. |
| Blockbuilder321:
--- Quote from: AGlass0fMilk on August 05, 2009, 05:56:40 PM ---Use Randy's support script for key bindings. --- End quote --- Thanks! |
| AGlass0fMilk:
Blarg. |
| Gadgethm:
I know, big bump. How would I make a text box display a variable? Ex: You have pushed the button (variable here) times! Every time I try it just shows the variable name, not the variable itself. |
| Navigation |
| Message Index |
| Next page |
| Previous page |