Jump to content

مشكله ...


POWR

Recommended Posts

Posted

شباب صدفتني مشكله معن الكود كويس

لما اشغل الشوب يطلع بوجهي على طول ابيه يكونت مختفي ولمآ اظغط ف2 يفتح

الكود

client-side

  
bindKey ( "F2" , "down" , function() 
 if ( guiGetVisible ( shopWindow ) == true ) then 
 guiSetVisible ( shopWindow ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
 elseif ( guiGetVisible ( shopWindow ) == false ) then 
 guiSetVisible ( shopWindow ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
 playSound("other/open.wav") 
 end 
 end 
 ) 
  

sey

Posted

اكتب تحت

  
shopWindow = guiCreateWindow 
guiSetVisible ( shopWindow ,false ) 
  
  
  
  

و اذا ما ضبط بدل false ب true

Posted

جرب ذآ

guiSetVisible ( shopWindow , false ) 
  
bindKey ( "F2" , "down" , 
    function() 
        if ( guiGetVisible ( shopWindow ) == true ) then 
            guiSetVisible ( shopWindow , false ) 
            showCursor ( false ) 
            guiSetInputEnabled ( false ) 
        else 
            guiSetVisible ( shopWindow , true ) 
            showCursor ( false ) 
            guiSetInputEnabled ( true ) 
            playSound ("other/open.wav") 
        end 
    end 
) 

هو أسم النافذة shopWindow مع العلم بأن

كل النوافذ لما تشغل المود يطلع بوجهك اما لو طلعت و دخلت ما بيطلع بوجهك

إذا طلعت ودخلت و خلص التحميل معناتها تو المود يشتغل

و نفس الكلام إذا شغلت المود و خلص التحميل

:roll:

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