addEventHandler("onClientGUIClick", resourceRoot,
function()
if source == button then
local Select = guiComboBoxGetSelected(combox)
local Text = guiComboBoxGetItemText(combox, Select)
local row = guiGridListAddRow ( grid )
if Text == "English" then
if isElement ( GUIEditor.gridlist[1] ) destroyElement ( GUIEditor.gridlist[1] ) end
GUIEditor.gridlist[2] = guiCreateGridList(10, 52, 249, 274, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "List", 0.9)
elseif Text == "عربي" then
if isElement ( GUIEditor.gridlist[2] ) destroyElement ( GUIEditor.gridlist[2] ) end
GUIEditor.gridlist[1] = guiCreateGridList(10, 52, 249, 274, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.9)
end -- end if
end -- end if
end -- end function
) -- close event