Jump to content

طلب تعديل او كود لا هنتم


Recommended Posts

السلام عليكم ورحمة الله وبركاته

الكود الي الي لقيته

local isChatVisible = true -- let's assume the chat is visible 
function chat ( key, keyState ) 
    if isChatVisible then -- if it's on 
        showChat ( false ) -- turn it off 
        isChatVisible = false 
    else 
        showChat ( true ) -- if it's off 
        isChatVisible = true -- turn it on 
    end 
end 
bindKey ( "i", "down", chat ) -- the player's "i" key will toggle the chat 

طبعا هاذ حق اخفاء الشات

الحين المطلوب ابي اضيف له بعد الكلمه ذي

shownametags 

اخفاء اسم الاعب

وشكرا :mrgreen:

Link to comment
-- # Client Side! 
addEventHandler('onClientGUIClick',guiElement, 
    function (          ) 
        if not isPlayerNametagShowing ( localPlayer ) then 
            setPlayerNametagShowing ( localPlayer,true ) 
            showChat ( true ) 
        else 
            setPlayerNametagShowing ( localPlayer,false ) 
            showChat ( true ) 
        end 
    end,false 
) 

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