Jump to content

HELP URGENT GUI!


waqaarali

Recommended Posts

So i got the GUI's Buttons and the window now i only want the functions so when a player clicks on the button they teleport to a specific location, i really for got how to script.

The Buttons/Windows are :

  
  
GUIEditor = { 
    button = {}, 
    window = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(261, 75, 269, 401, "Drift King Maps - BETA Mode", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
  
        GUIEditor.button[1] = guiCreateButton(9, 23, 250, 60, "Big Ear", false, GUIEditor.window[1]) 
        GUIEditor.button[2] = guiCreateButton(10, 99, 249, 60, "Short Drift Track", false, GUIEditor.window[1]) 
        GUIEditor.button[3] = guiCreateButton(9, 176, 249, 60, "Long Drift Track", false, GUIEditor.window[1]) 
        GUIEditor.button[4] = guiCreateButton(9, 256, 249, 60, "Air Drift Track", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(10, 326, 249, 60, "Drift Track Long", false, GUIEditor.window[1])     
    end 
) 
  

And leave the setElementPosition blank i will fill the x,y,z after, Thank You guys

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