Jump to content

x[ طلب حل ]x مشكلة بالجريد ليست


#STZ

Recommended Posts

السلام عليكم و رحمة الله وبركاته

سويت لما يختار شي من الجريد ليست يسوي حدث

بس مابي انا لما يختار شي و يضغط عليه مرتين ابي يختار الشي و يضغط الزر يسوي

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 by MR.NaiF-MTA
Link to comment

تم حل المشكلة بنفسي 

شكرا لكم

الحل اذا احد محتاجه

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...