Jump to content

Wanted computer [HELP]


Sande

Recommended Posts

Hey, i started to make Wanted computer, but im new in scripting so i dont know how i can code action for gridlist & button.

Please help!, thank you!!

  
  
GUIEditor = { 
    gridlist = {}, 
    window = {}, 
    button = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(608, 340, 407, 330, "Police Computer", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(10, 29, 387, 228, false, GUIEditor.window[1]) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.3) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Stars", 0.3) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "Kills", 0.3) 
  
        GUIEditor.button[1] = guiCreateButton(367, -22, 20, 15, "", false, GUIEditor.gridlist[1]) 
  
        GUIEditor.button[2] = guiCreateButton(142, 277, 110, 38, "Close", false, GUIEditor.window[1])     
    end 
) 
  

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