Jump to content

x[ مشكله ]x في كود الفتح


Recommended Posts

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

انا سويت لوحه

فيها قريد ليست يجيب الي معه رتبه admin

المهم برمجتها ومالكم بالطويله

وماتشتغل المشكله

--

GUIEditor.window[1] - ذا الكود حطيته تحت كود الوندو

guiSetVisible (GUIEditor.window[1], false)  

وذا تحت اكواد اللوحه

bindKey("F2", "down")                                       
function()   
        if guiGetVisible(GUIEditor.window[1]) then  
                guiSetVisible(GUIEditor.window[1], false)  
                showCursor(false) 
                guiSetInputEnabled(false) 
        else 
                guiSetVisible(GUIEditor.window[1], true) 
                showCursor(true) 
                guiSetInputEnabled(true) 
        end 
end) 

Link to comment

دي حطها قبل الوحة اول سطر

  
-- Client Side 
local key = "f2" 
  

و دي بعد الوحة

function Show_Hide() 
if guiGetVisible(GUIEditor.window[1]) == false then 
guiSetVisible(GUIEditor.window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor.window[1], false) 
showCursor(false) 
end 
end 
bindKey(key,"down",Show_Hide) 

Link to comment
function open ()   
        if guiGetVisible(GUIEditor.window[1]) then 
                guiSetVisible(GUIEditor.window[1], false) 
                showCursor(false) 
                guiSetInputEnabled(false) 
        else 
                guiSetVisible(GUIEditor.window[1], true) 
                showCursor(true) 
                guiSetInputEnabled(true) 
        end 
end 
bindKey("F2", "down",open) 

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