Jump to content

Fix Code Please


Joker_Mta

Recommended Posts

Hello !

Fix Please

gridlist = guiCreateGridList(0.344,0.1011,0.7078,0.5005,true,GUIEditor_Window[2]) 
guiGridListSetSelectionMode(gridlist,2) 
name = guiGridListAddColumn(gridlist,"buy car",0.9) 
  local o1o = guiGridListAddRow ( gridlist ) 
  local o2o = guiGridListAddRow ( gridlist ) 
  local o3o = guiGridListAddRow ( gridlist ) 
  local o4o = guiGridListAddRow ( gridlist ) 
  car1 = guiGridListSetItemText ( gridlist, o1o, name, "car1", false, false ) 
  car2 = guiGridListSetItemText ( gridlist, o2o, name, "car2", false, false ) 
  car3 = guiGridListSetItemText ( gridlist, o3o, name, "car3", false, false ) 
  car4 = guiGridListSetItemText ( gridlist, o4o, name, "car4", false, false ) 
 ------ 
name = guiCreateEdit(200, 313, 201, 20, "", false, GUIEditor_Window[2]) 
 ------ 
addEventHandler("onClientGUIChanged",root,function() 
    if source == gridlist then 
        local text = guiGridListGetItemText(gridlist, guiGridListGetSelectedItem(gridlist), 1) 
        if not text or text == "" then return end 
        guiSetText(name,text) 
    end 
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...