developer Posted February 18, 2015 Share Posted February 18, 2015 الكود مش شغال صلحولي الكود !!!!!!!!!!!!!!! local window = guiCreateWindow(302, 106, 692, 478, "BY IIwantedII", false) guiWindowSetSizable(window, false) guiSetProperty(window, "CaptionColour", "FF301EDE") local gridlist = guiCreateGridList(14, 26, 664, 339, false, window) local column = guiGridListAddColumn(gridlist, "", 0.9) local edit = guiCreateEdit(53, 402, 341, 59, "", false, window) local button = guiCreateButton(487, 403, 186, 65, "SEND", false, window) guiSetProperty(button, "NormalTextColour", "FF85C836") end ) function OpenWin() if guiGetVisible(window) then guiSetVisible(window, false) showCursor(false) else guiSetVisible(window, true) showCursor(true) end end bindKey("F5", "down", OpenWin) addEventHandler("onClientGUIClick", root, function() if source == button then local Text = guiGetText(edit) if Text ~= "" then guiSetText(edit, "") triggerServerEvent("IIwantedII", localPlayer, Text) end end end) addEvent("sendTheText", true) addEventHandler("sendTheText", root, function(Text) local row = guiGridListAddRow(gridlist) local playerName = getPlayerName(source) local fText = playerName..":"..Text..":BY IIwantedII" guiGridListSetItemText(gridlist, row, column, fText , false, false) end) Link to comment
</Mr.Tn6eL> Posted February 18, 2015 Share Posted February 18, 2015 احذف end ) + استخدم [lua] Link to comment
khalid-mks Posted February 18, 2015 Share Posted February 18, 2015 Mr.Tn6eL يعني وش الفرق بين end) و end ) ???????? Link to comment
#DRAGON!FIRE Posted February 18, 2015 Share Posted February 18, 2015 مافي فرق .. مجرد شكل Link to comment
</Mr.Tn6eL> Posted February 18, 2015 Share Posted February 18, 2015 Mr.Tn6eLيعني وش الفرق بين end) و end ) ???????? مافي فرق بس انا قصدي على هذا local window = guiCreateWindow(302, 106, 692, 478, "BY IIwantedII", false) guiWindowSetSizable(window, false) guiSetProperty(window, "CaptionColour", "FF301EDE") local gridlist = guiCreateGridList(14, 26, 664, 339, false, window) local column = guiGridListAddColumn(gridlist, "", 0.9) local edit = guiCreateEdit(53, 402, 341, 59, "", false, window) local button = guiCreateButton(487, 403, 186, 65, "SEND", false, window) guiSetProperty(button, "NormalTextColour", "FF85C836") end ) ) : قوس اغلاق بدون فتح end : نهاية بدون بداية 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