Jump to content

اطلب اكواد show


Recommended Posts

انت تبي لما تضغط الزر الشات يختفي عند الكل او بس عند الي ضغط الزر؟

و الأسم تبي اسم الي ضغط الزر يختفي عند الكل؟

Link to comment

اعتقد ذا الي تبيه

addEventHandler("onClientGUIClick", resourceRoot, 
function() 
    if source == button1 then 
        showChat(false) 
    elseif source == button2 then 
        showPlayerHudComponent("all", false) 
    elseif source == button3 then 
        for i, player in ipairs(getElementsByType("player")) do 
            setPlayerNametagShowing(player, false) 
        end 
    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...