Adham Posted May 13, 2016 Posted May 13, 2016 سلام عليكم انا عامل button اسمه مشاهده صوره لوحة الاستجار عاوزا ليضعط عليه يفتح له صوره انا بحطها في ملف ميتا و المود شو استحدو
Adham Posted May 13, 2016 Author Posted May 13, 2016 كذا؟ addEventHandler("onClientGUIClick", root, function () if( source == show ) then guiSetVisible (wind1, false) guiSetVisible (wind2, true) guiCreateStaticImage( 50, 250, 20, 100, "show.png", false ) end end )
MR.GRAND Posted May 13, 2016 Posted May 13, 2016 كذا؟ addEventHandler("onClientGUIClick", root, function () if( source == show ) then guiSetVisible (wind1, false) guiSetVisible (wind2, true) guiCreateStaticImage( 50, 250, 20, 100, "show.png", false ) end end ) يب .!
iMr.Dawix~# Posted May 14, 2016 Posted May 14, 2016 كذا؟ addEventHandler("onClientGUIClick", root, function () if( source == show ) then guiSetVisible (wind1, false) guiSetVisible (wind2, true) guiCreateStaticImage( 50, 250, 20, 100, "show.png", false ) end end ) local img = guiCreateStaticImage( 50, 250, 20, 100, "show.png", false )--imgانشاء صورة وتعريفها بمتغير guiSetVisible(img,false)-- اغلاق الصورة addEventHandler("onClientGUIClick", root, function () if source == show then -- show اذا ضغط زر guiSetVisible(img,not guiGetVisible(img))--img اظهاراو اخفاء end end )
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