Jump to content

help


yesyesok

Recommended Posts

Hey, i created a gui panel with gui editor, But it shows the panel when i start the resource

GUIEditor = { 
    button = {}, 
    window = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUI.window[1] = guiCreateWindow(222, 217, 378, 192, "testinggui", false) 
        guiWindowSetSizable(GUI.window[1], false) 
        guiSetProperty(GUI.window[1], "CaptionColour", "FFFA1818") 
  
        GUIEditor.button[1] = guiCreateButton(57, 88, 109, 57, "guitest", false, GUIEditor.window[1]) 
        GUIEditor.button[2] = guiCreateButton(224, 93, 126, 52, "test", false, GUIEditor.window[1]) 
        GUIEditor.label[1] = guiCreateLabel(87, 4, 206, 15, "", false, GUIEditor.window[1])     
    end 
) 

I don't want the resource to start 1st.

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...