Jump to content

guieditor apply


TheBite

Recommended Posts

output from the gui editor list but this will change script variables and the script will crash !

I have the output code:

GUIEditor = { 
    checkbox = {}, 
    button = {}, 
    label = {}, 
    window = {}, 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(10, 150, 280, 372, "Black and White (user) panel", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
  
        GUIEditor.label[1] = guiCreateLabel(10, 25, 96, 20, "Local player", false, GUIEditor.window[1]) 
        GUIEditor.button[1] = guiCreateButton(10, 50, 40, 20, "Kill", false, GUIEditor.window[1]) 
        GUIEditor.button[2] = guiCreateButton(55, 50, 40, 20, "Skin", false, GUIEditor.window[1]) 
        GUIEditor.button[3] = guiCreateButton(100, 50, 40, 20, "Anim", false, GUIEditor.window[1]) 
        GUIEditor.button[4] = guiCreateButton(145, 50, 56, 20, "Weapon", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(206, 50, 64, 20, "Clothes", false, GUIEditor.window[1]) 
        GUIEditor.button[7] = guiCreateButton(10, 74, 40, 20, "Warp", false, GUIEditor.window[1]) 
        GUIEditor.button[8] = guiCreateButton(54, 74, 48, 20, "Stats", false, GUIEditor.window[1]) 
        GUIEditor.button[9] = guiCreateButton(106, 74, 80, 20, "Bookmarks", false, GUIEditor.window[1]) 
        GUIEditor.checkbox[1] = guiCreateCheckBox(10, 100, 68, 20, "Jetpack", false, false, GUIEditor.window[1]) 
        GUIEditor.checkbox[2] = guiCreateCheckBox(83, 100, 116, 20, "Fall off bike", false, false, GUIEditor.window[1]) 
        GUIEditor.label[2] = guiCreateLabel(10, 125, 32, 20, "Pos:", false, GUIEditor.window[1]) 
        GUIEditor.label[3] = guiCreateLabel(47, 125, 45, 20, "2485", false, GUIEditor.window[1]) 
        GUIEditor.label[4] = guiCreateLabel(97, 125, 45, 20, "-1666", false, GUIEditor.window[1]) 
        GUIEditor.label[5] = guiCreateLabel(147, 125, 45, 20, "13", false, GUIEditor.window[1]) 
        GUIEditor.button[10] = guiCreateButton(197, 125, 32, 20, "Map", false, GUIEditor.window[1]) 
        GUIEditor.button[11] = guiCreateButton(234, 125, 32, 20, "Int", false, GUIEditor.window[1]) 
        GUIEditor.label[6] = guiCreateLabel(10, 171, 64, 20, "Vehicles", false, GUIEditor.window[1]) 
        GUIEditor.label[7] = guiCreateLabel(10, 196, 64, 20, "Current:", false, GUIEditor.window[1]) 
        GUIEditor.label[8] = guiCreateLabel(79, 196, 80, 20, "Infernus", false, GUIEditor.window[1]) 
        GUIEditor.button[12] = guiCreateButton(10, 221, 56, 20, "Create", false, GUIEditor.window[1]) 
        GUIEditor.button[13] = guiCreateButton(71, 221, 56, 20, "Repair", false, GUIEditor.window[1]) 
        GUIEditor.button[14] = guiCreateButton(132, 221, 40, 20, "Flip", false, GUIEditor.window[1]) 
        GUIEditor.button[15] = guiCreateButton(177, 221, 72, 20, "Upgrades", false, GUIEditor.window[1]) 
        GUIEditor.button[16] = guiCreateButton(10, 246, 48, 20, "Color", false, GUIEditor.window[1]) 
        GUIEditor.button[17] = guiCreateButton(63, 246, 72, 20, "Paintjob", false, GUIEditor.window[1]) 
        GUIEditor.checkbox[3] = guiCreateCheckBox(10, 271, 84, 20, "Lights on", false, false, GUIEditor.window[1]) 
        GUIEditor.checkbox[4] = guiCreateCheckBox(99, 271, 92, 20, "Lights off", false, false, GUIEditor.window[1])     
    end 
) 
  

But where I can isert this?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...