Advertisement
Mouamle

:D

Aug 27th, 2015
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function toggle(  )
  2.     if ( guiGetVisible( win ) == true ) then
  3.         guiSetVisible ( win, false )
  4.         showCursor(false)
  5.         guiSetInputEnabled(false)
  6.     else
  7.         guiSetVisible ( win, true )
  8.         showCursor(true)
  9.         guiSetInputEnabled(true)
  10.     end
  11. end
  12. bindKey("F1", "down", toggle)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement