| Blockland Forums > Modification Help |
| [Tutorial] Creating A GUI [Updated 4/1/2012] |
| << < (9/12) > >> |
| SlayerZ99:
Thanks. Im just messing around with them right now, seeing what I can do with them and looking at other ones. |
| Port:
What's wrong with the player list? In any case, you might find some help by dumping newPlayerListGUI or looking at it's member objects (or just plain inspecting it in the GUI editor). |
| Daenth:
--- Code: ---function Open_YOURGUINAME(%Gui) { %Gui = canvas.pushDialog(YOURGUINAMEGui); } --- End code --- Isn't %Gui useless in this function? Can't you just change it to this? --- Code: ---function Open_YOURGUINAME() { canvas.pushDialog(YOURGUINAME); } --- End code --- |
| jes00:
--- Quote from: Daenth on April 01, 2012, 02:53:43 PM --- --- Code: ---function Open_YOURGUINAME(%Gui) { %Gui = canvas.pushDialog(YOURGUINAMEGui); } --- End code --- Isn't %Gui useless in this function? Can't you just change it to this? --- Code: ---function Open_YOURGUINAME() { canvas.pushDialog(YOURGUINAME); } --- End code --- --- End quote --- You could yes, but both ways work. EDIT: I just updated that part. |
| deathrider:
i made one cant get it to open in game but i can assign a button to it heres client.cs --- Code: ---exec("./Test.gui"); $remapDivision[$remapCount] = "Custom made GUI's"; $remapName[$remapCount] = "Test GUI"; $remapCmd[$remapCount] = "Open_Test"; $remapCount++; function TestButtonPush() { talk(hi); } --- End code --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |