Jump to content

شرح بسيط


Recommended Posts

Posted

السلام عليكم شباب انا عامل لوحه وفيها زر عوز الزر دا يفتح لوحه اخرى 

وشكرا مقدما :D

Posted

"OnClientGuiClick"

if ( source == Button)  then 

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

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

end 

end 

)

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

  • Like 1
Posted (edited)

Guisetvisibe X

-- Client Side --
 

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

function ( ) -- وظيفه 

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

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

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

end

end 
 
)

 

<@>

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

انت كاتب له

Guisetvisible 

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

التصحيح :

guiSetVisible

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

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

Edited by Deativated
Posted

انا جوال واكيد بيدخل الويكي ويشوف الحروف الكبيرة و الصغيرة بالطريقة الصحيحة 

Posted
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 
 
)

 

<@>

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

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