Jump to content

سوال بسيط .


Recommended Posts

سلام عليكم انا عامل لوحة و Button

اليضعط عليها

يروح للوحة تتانيه

انا عاوز لما يفتح اللوحة لتانيه

ما يقدر يفتح لوحة الاوله من حرف خ وهوا فاتحها

Link to comment

ذا الكود لما يضعط علي الbutton

يروح للوحة

addEventHandler("onClientGUIClick",resourceRoot,function () 
if ( source == buttonTag ) then 
guiSetVisible(wnd2, false) 
guiSetVisible(wmd, true) 
showCursor ( wmd, false ) 
end 
end) 
  

edit # ما ظبت

addEventHandler("onClientGUIClick",resourceRoot,function () 
if ( source == buttonTag ) then 
guiSetVisible(wnd2, false) 
guiSetVisible(wmd, true) 
showCursor ( wmd, false ) 
guiGetVisible(wnd2,false) 
end 
end) 
  

Link to comment

؟

addEventHandler("onClientGUIClick",resourceRoot,function Adham ( player ) 
if ( source == buttonTag ) then 
guiSetVisible(wnd2, false) 
guiSetVisible(wmd, true) 
showCursor ( wmd, false ) 
unbindKey ( player, "o", "down", adham ) 
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...