Mr-Kartha Posted June 28, 2013 Share Posted June 28, 2013 السلام عليكم ورحمة الله وبركاته الكود الي الي لقيته 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 اخفاء اسم الاعب وشكرا Link to comment
iPrestege Posted June 28, 2013 Share Posted June 28, 2013 setPlayerNametagShowing true > Showing > false > not Showing Link to comment
Mr-Kartha Posted June 28, 2013 Author Share Posted June 28, 2013 يا فالح ابيه بالزر تعلم طيب هات مثال عشان اتعلم Link to comment
#Al-Ha[J]aRii Posted June 28, 2013 Share Posted June 28, 2013 يا فالح ابيه بالزر تعلم طيب هات مثال عشان اتعلم addEventHandler("onClientGUIClick",root, function() if ( source == اسم الزر ) then ------------- كودك end end ) Link to comment
iPrestege Posted June 28, 2013 Share Posted June 28, 2013 -- # 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
AboShanab Posted June 28, 2013 Share Posted June 28, 2013 انت مستر الكارثة ؟؟ ع العموم اذا مستر الكارثة هات سكايبي حقك ابيك !! Link to comment
Mr-Kartha Posted June 28, 2013 Author Share Posted June 28, 2013 mr-kartha < وش مسهرك رح نام Link to comment
AboShanab Posted June 28, 2013 Share Posted June 28, 2013 ههههههههههههههههههه ااقول امشش سكايب Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now