Jercko Posted April 7, 2018 Share Posted April 7, 2018 السلام عليكم ورحمة الله وبركاتة :ايش المشكلة في ذا الكود الكود كامل SETTING = { ["تجربة1"] = "1", ["1"] = AddContact.window[1], } AddContact = { window = {} } GUIEditor = { button = {}, combobox = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wndrnk = guiCreateWindow(340, 108, 262, 288, "", false) guiSetVisible(wndrnk,false) guiWindowSetSizable(wndrnk, false) GUIEditor.combobox[1] = guiCreateComboBox(9, 21, 243, 215, "خيارات", false, wndrnk) guiComboBoxAddItem(GUIEditor.combobox[1], "تجربة1") GUIEditor.button[1] = guiCreateButton(17, 248, 235, 30, "تنفيذ", false, wndrnk) AddContact.window[1] = guiCreateWindow(884, 181, 376, 366, "تجربة", false) guiSetVisible(AddContact.window[1],false) guiWindowSetSizable(AddContact.window[1], false) end ) if (source == GUIEditor.button[1]) then local getStinng = tostring( guiComboBoxGetItemText (GUIEditor.combobox[1], guiComboBoxGetSelected ( GUIEditor.combobox[1] ) ) ) if not ( getStinng ~= "خيارات" ) then end end Link to comment
Master_MTA Posted April 9, 2018 Share Posted April 9, 2018 3 hours ago, Pistol515 said: ممكن تساعدوني لاهنتم وش اعراض المشكله وش المشكله اللي تواجهك عشان نعرف نحدد مساحه معينه من الكود نبحث فيها عن خطا Link to comment
Jercko Posted April 10, 2018 Author Share Posted April 10, 2018 SETTING = { ["تجربة1"] = "1", ["1"] = AddContact.window[1], } if (source == GUIEditor.button[1]) then local getStinng = tostring( guiComboBoxGetItemText (GUIEditor.combobox[1], guiComboBoxGetSelected ( GUIEditor.combobox[1] ) ) ) if not ( getStinng ~= "خيارات" ) then end end الكود هذا اذا اخترت شيء من الكومبو بوكس يطلع لك لوحه بس ماظبط معي اتمنى تساعدني Link to comment
Rakan# Posted April 17, 2018 Share Posted April 17, 2018 كل الكود اخطاء .. انت ماخذ اكواد ولاصقها وعدلت عليها شكلك واعدمت الاكواد 1 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now