Jump to content

فكشن ,,#


Recommended Posts

سلام عليكم

انا عامل button اسمه

مشاهده صوره لوحة الاستجار

عاوزا ليضعط عليه

يفتح له صوره انا بحطها في ملف ميتا و المود

شو استحدو

Link to comment

كذا؟

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
كذا؟

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

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...