Jump to content

شرح بسيط


Recommended Posts

"OnClientGuiClick"

if ( source == Button)  then 

Guisetvisible -- false اللوحة الاولي 

Guisetvisibe -- true اللوحة الثانية 

end 

end 

)

ضيف فنشكن و ايفنت بالاسم الي فوق 

  • Like 1
Link to comment

Guisetvisibe X

-- Client Side --
 

addEventHandler ( "onCllientGUIClick", root, -- حدث اذا ضعط علي الزر

function ( ) -- وظيفه 

if ( source ==  button ) then -- تحقق من الزر الضعط عليه

guiSetVisible ( wnd, false ) -- يقفل الوحة الاولي

guiSetVisible ( wnd2, true ) -- يفتح الوحة التانية

end

end 
 
)

 

<@>

Edited by Deativated
Link to comment
2 minutes ago, MR.NaiF-MTA said:
  • @Deativated
  • كنت خليته  يحاول شوي ع الاقل يتعلم الاساسيات 
  •  

انت كاتب له

Guisetvisible 

كيف بيتعلم ؟ الوظيفه اسمها غلط

التصحيح :

guiSetVisible

و تقدر تعطي له رباط الحدث بالفكشنات حق الطلب 

او تكتبها عن طريق "lua"

Edited by Deativated
Link to comment
20 minutes ago, MR.NaiF-MTA said:

"OnClientGuiClick"

if ( source == Button)  then 

Guisetvisible -- false اللوحة الاولي 

Guisetvisibe -- true اللوحة الثانية 

end 

end 

)

ضيف فنشكن و ايفنت بالاسم الي فوق 

شكرا اخى على المساعده

18 minutes ago, Deativated said:

Guisetvisibe X

-- Client Side --
 


addEventHandler ( "onCllientGUIClick", root, -- حدث اذا ضعط علي الزر

function ( ) -- وظيفه 

if ( source ==  button ) then -- تحقق من الزر الضعط عليه

guiSetVisible ( wnd, false ) -- يقفل الوحة الاولي

guiSetVisible ( wnd2, true ) -- يفتح الوحة التانية

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