Jump to content

طلب شرح


Recommended Posts

السلام عليكم

ابي شرح كيف مثلا لو ضغط واحد على البوتون تطلعله صوره ثانيه

ما ابي تعطوني فنكشن واحد

ابي تقلولي كيف اعمله انه يطلعله صفحه وانا كون حاطط فيها بوتونات

كمثال لو طقس تسجيل تطلعله صفحه ثانيه كيف اعملها لو سمحتو قلولي

Link to comment
addEventHandler("onClientGUIClick",root, 
function() 
if ( source == الزر ) then 
guiSetVisible(النافذة,true) 
end 
end 
) 

مع اني ماجربت كودك لاكن بعدل

اذا تبي تخفي النافذة الي ضغطت فيها الزر

    addEventHandler("onClientGUIClick",root, 
    function() 
    if ( source == الزر ) then -- اذا ضغط على الزر 
    guiSetVisible(النافذة,true) -- النافذة الي تطلعها 
    guiSetVisible(النافذة,false) -- النافذة الي تخفيها 
        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...