XI_Alooy1212_IX Posted July 9, 2014 Share Posted July 9, 2014 طلب تصحيح [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
Max+ Posted July 9, 2014 Share Posted July 9, 2014 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
xX|KeMo|Xx Posted July 10, 2014 Share Posted July 10, 2014 مافي فريق يوم اضفت 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
Max+ Posted July 10, 2014 Share Posted July 10, 2014 مافي فريق يوم اضفت 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
nxFairlywell Posted July 10, 2014 Share Posted July 10, 2014 جـرب 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
xX|KeMo|Xx Posted July 10, 2014 Share Posted July 10, 2014 شيل guiSetInputEnabled عمرها ما تظبط مع bind لو تبيها تظبط مع guiSetInputEnabled حط زر يسكر الوحه لنها مارا تتسكر بنفس ال bind انصحك تستخدم مكانها guiSetInputMode ( "no_binds_when_editing" ) هذي تمنع ال bind وانت تكتب في ال edit Link to comment
nxFairlywell Posted July 10, 2014 Share Posted July 10, 2014 شيل guiSetInputEnabled عمرها ما تظبط مع bind لو تبيها تظبط مع guiSetInputEnabled حط زر يسكر الوحه لنها مارا تتسكر بنفس ال bind انصحك تستخدم مكانها guiSetInputMode ( "no_binds_when_editing" ) هذي تمنع ال bind وانت تكتب في ال edit اخوي كيمو انت جربت الكود عشان تقول ماضبط جرب الكود قبل لاتحكم عليه الله يصلحك Link to comment
xX|KeMo|Xx Posted July 10, 2014 Share Posted July 10, 2014 لا ا جربته بس واجهتني مثل امشكله زمان ع حسب الكود انه يضغط ال bind يفتح له ال gui بس يوم يجي يضغط ال bind تاني ما تسكر ان شاء الله يجرب صاحب الكود ويشوف شو الي ظبط معه الله يهديك Link to comment
nxFairlywell Posted July 10, 2014 Share Posted July 10, 2014 صاحب الموضوع يبي النافذه تفتح بـ زر وتقفل بـ زر بس انت شكلك فاهم غلط Link to comment
xX|KeMo|Xx Posted July 10, 2014 Share Posted July 10, 2014 صاحب الموضوع يبي النافذه تفتح بـ زر وتقفل بـ زر بسانت شكلك فاهم غلط شو الي عرفك انه يبي زر انا عرفت انه يبيه bind من الكود حقه bindKey ( "F4" , "down" , ان شاء الله يجي ويوضح Link to comment
nxFairlywell Posted July 10, 2014 Share Posted July 10, 2014 اصلا صاحب الموضوع ماوضح وش يبي بالضبط 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