Sparrow Posted March 3, 2012 Share Posted March 3, 2012 السلام لقد قمت بصنع الأدمينية ولاكن هناك بعض الرسائل في debugscript 3 line2: bad argument @ 'guiGetVisible' [exepted gui-element at argument 1 got nil] السكريبت كلينت: function sPanel() if (guiGetVisible(window) == true) then showCursor(false) guiSetVisible (window, false) else window = guiCreateWindow(351,179,445,318,"Admin Panel [v1.0] by Sparrow",false) guiWindowSetSizable(window,false) etc, etc... end end Link to comment
JR10 Posted March 3, 2012 Share Posted March 3, 2012 function sPanel() if window then if (guiGetVisible(window) == true) then showCursor(false) guiSetVisible (window, false) else showCursor(true) guiSetVisible (window, true) end else window = guiCreateWindow(351,179,445,318,"Admin Panel [v1.0] by Sparrow",false) guiWindowSetSizable(window,false) etc, etc... end end end 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