Adham Posted May 13, 2016 Share Posted May 13, 2016 سلام عليكم انا عامل button اسمه مشاهده صوره لوحة الاستجار عاوزا ليضعط عليه يفتح له صوره انا بحطها في ملف ميتا و المود شو استحدو Link to comment
Adham Posted May 13, 2016 Author Share 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 ) Link to comment
MR.GRAND Posted May 13, 2016 Share 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 ) يب .! Link to comment
iMr.Dawix~# Posted May 14, 2016 Share 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 ) 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