#STZ Posted December 11, 2016 Share Posted December 11, 2016 (edited) السلام عليكم و رحمة الله وبركاته سويت لما يختار شي من الجريد ليست يسوي حدث بس مابي انا لما يختار شي و يضغط عليه مرتين ابي يختار الشي و يضغط الزر يسوي Confirm | تاكيد يعني ابي مثلا يختار البداية و يضغط موافق ينقله مب يضغط مرتين علي الجريد ليست اكوادي addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if ( source == GUIEditor.gridlist[1] ) then if sel == 0 then -- elseif sel == 1 then -- end end end ) Edited December 11, 2016 by MR.NaiF-MTA Link to comment
#STZ Posted December 11, 2016 Author Share Posted December 11, 2016 تم حل المشكلة بنفسي شكرا لكم الحل اذا احد محتاجه addEventHandler("onClientGUIClick",GUIEditor_Button[1], function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if ( source == GUIEditor.gridlist[1] ) then if sel == 0 then -- AnyThing elseif sel == 1 then -- AnyThing end 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