Jump to content

Help


yMassai

Recommended Posts

Posted
WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false)  
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( not isCursorShowing( ) ) 
end 
bindKey ( "F5","down", WindowTest ) 

Which error?

Why dont show the window?

Guest Guest4401
Posted

Change

bindKey ( "F5","down", WindowTest ) 

to

bindKey ( "F5","down", ShowTest ) 

Guest Guest4401
Posted
WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false) 
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( not isCursorShowing( ) ) 
end 
bindKey ( "F5","down", ShowTest ) 

Posted

try;

WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false)  
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( guiGetVisible ( WindowTest ) ) 
end 
bindKey ( "F5","down", ShowTest ) 

Posted
dont work here...

it's should work

are sure you're not using it server-side?

did you try debugscript 3 ?

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