how i put variables on this ? mean , when i press a button this will dow something
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Checkbox = {}
GUIEditor_Edit = {}
GUIEditor_Window[2] = guiCreateWindow(308,181,395,288,"HUD",false)
getcar_1 = guiCreateButton(276,26,94,49,"Spawn car 1",false,GUIEditor_Window[2])
GUIEditor_Button[2] = guiCreateButton(216,33,73,0,"",false,GUIEditor_Window[2])
getcar_2 = guiCreateButton(276,90,94,49,"Spawn car 2",false,GUIEditor_Window[2])
getcar_3 = guiCreateButton(276,155,94,49,"Spawn car 3",false,GUIEditor_Window[2])
GUIEditor_Button[5] = guiCreateButton(276,214,94,49,"Spawn car 4",false,GUIEditor_Window[2])
GUIEditor_Checkbox[1] = guiCreateCheckBox(329,368,0,0,"",false,false)
checkbox1 = guiCreateCheckBox(9,22,117,16,"Get warefare",false,false,GUIEditor_Window[2])
guiCheckBoxSetSelected(checkbox1,true)
checkbox3 = guiCreateCheckBox(10,41,91,23,"/goto enable",false,false,GUIEditor_Window[2])
GUIEditor_Edit[2] = guiCreateEdit(11,94,95,24,"Car health",false,GUIEditor_Window[2])
car healt = guiCreateProgressBar(112,94,107,24,false,GUIEditor_Window[2])