Jump to content

طللب


Recommended Posts

طيب ونا كيف اختفي الايديت الب الوحه؟

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

وتقرأهن احسن ، لان الفانكشن داخله كلام مهم جدا لازم تقراه على شان تعرف تستخدمه

هذا الفانكشن

bool guiSetEnabled ( element guiElement, bool enabled ) 

bool مكتوب فيه

يعني تقدر تحطه

true : اذا تبي تفعله

false : اذا تبي تعطله

This function enables/disables a GUI element. A disabled GUI element can't be used, gets a gray aspect and doesn't receive any events.

واذا تبي تخفي او تظهر عنصر في اللوحه استخدم

guiSetVisible 

Link to comment

صح كدا؟

addEventHandler("onClientGUIComboBoxAccepted",root, 
function() 
    if ( source == combox ) then 
    local item = guiComboBoxGetSelected(combox) 
   local text = guiComboBoxGetItemText(combox, item) 
    guiSetVisible(edit,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...