Jump to content

تصحيح


Recommended Posts

طلب تصحيح

[b]bindKey ( "F4", "down", 
  
function()   
    if guiGetVisible(W) then 
        guiSetVisible(W, false) 
        showCursor(false) 
        guiSetInputEnabled(false) 
    else 
        guiSetVisible(W, true) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
  
end) 
[/b] 

وين الأخطاء

!!!!! :(

Link to comment

bindKey ( "F4", "down", 
function()   
    if guiGetVisible(W) == true then 
        guiSetVisible(W, false) 
        showCursor(false) 
        guiSetInputEnabled(false) 
    else 
        guiSetVisible(W, true) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
  
end) 
Link to comment

مافي فريق يوم اضفت

if guiGetVisible (W ) == true then

رح تلاقي المشكله من

guiSetInputEnabled

جرب

  
bindKey ( "F4" , "down" , 
function() 
 if guiGetVisible (W )  then 
guiSetVisible ( W, false ) 
showCursor(false) 
else 
 guiSetVisible ( W, true) 
showCursor( true) 
end 
end ) 

Link to comment
مافي فريق يوم اضفت

if guiGetVisible (W ) == true then

رح تلاقي المشكله من

guiSetInputEnabled

جرب

  
bindKey ( "F4" , "down" , 
function() 
 if guiGetVisible (W )  then 
guiSetVisible ( W, false ) 
showCursor(false) 
else 
 guiSetVisible ( W, true) 
showCursor( true) 
end 
end ) 

مافي فرق ؟؟

ذا تحقق اذا كانت ظاهرة = اخفاء

واذا مخفية = اظهار

+ guisetInputEnabeld

ذا حق الكتابة .

واتوقع مشكلته في اظهار النافذة لانه ماسوا تحقق

Link to comment

جـرب

Client Side --

    bindKey ( "F4", "down", 
    function()   
         getVisible = guiGetVisible (W) 
        if (getVisible == true) then 
    guiSetVisible (W, false) 
    showCursor (false) 
    guiSetInputEnabled(false) 
        else 
            guiSetVisible(W, true) 
            showCursor(true) 
            guiSetInputEnabled(true) 
      
        end 
      
    end) 

Link to comment

شيل guiSetInputEnabled عمرها ما تظبط مع bind

لو تبيها تظبط مع guiSetInputEnabled حط زر يسكر الوحه لنها مارا تتسكر بنفس ال bind

انصحك تستخدم مكانها

guiSetInputMode ( "no_binds_when_editing" )

هذي تمنع ال bind وانت تكتب في ال edit

Link to comment
شيل guiSetInputEnabled عمرها ما تظبط مع bind

لو تبيها تظبط مع guiSetInputEnabled حط زر يسكر الوحه لنها مارا تتسكر بنفس ال bind

انصحك تستخدم مكانها

guiSetInputMode ( "no_binds_when_editing" )

هذي تمنع ال bind وانت تكتب في ال edit

اخوي كيمو انت جربت الكود عشان تقول ماضبط

جرب الكود قبل لاتحكم عليه الله يصلحك :)

Link to comment

لا ا جربته بس واجهتني مثل امشكله زمان

ع حسب الكود انه يضغط ال

bind

يفتح له ال

gui

بس يوم يجي يضغط ال

bind

تاني ما تسكر

ان شاء الله يجرب صاحب الكود ويشوف شو الي ظبط معه الله يهديك

Link to comment
صاحب الموضوع يبي النافذه تفتح بـ زر وتقفل بـ زر بس

انت شكلك فاهم غلط

شو الي عرفك انه يبي زر

انا عرفت انه يبيه

bind

من الكود حقه

bindKey ( "F4" , "down" ,

ان شاء الله يجي ويوضح

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