XoXFaby

Untitled

Sep 9th, 2014
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. eqframe.Close = function( s )
  2. if s.Settings["Settings"]["Memory"] then
  3. s:SetKeyboardInputEnabled(false)
  4. s.ItemPanel.Search.TextboxB:SetVisible(true)
  5. s:SetVisible(false)
  6. else
  7. s:Remove()
  8. end
  9.  
  10. local cod = util.TableToJSON(s.Settings)
  11. file.Write( "ttt_menu_settings.txt", cod )
  12. end
  13.  
  14.  
  15. ------------------------------------------------------------------------------
  16. ------------------------------------------------------------------------------
  17. ------------------------------------------------------------------------------
  18. ------------------------------------------------------------------------------
  19. ------------------------------------------------------------------------------
  20. ------------------------------------------------------------------------------
  21. ------------------------------------------------------------------------------
  22. ------------------------------------------------------------------------------
  23. ------------------------------------------------------------------------------
  24.  
  25. eqframe.Close = function( s )
  26. s:Remove()
  27.  
  28. local cod = util.TableToJSON(s.Settings)
  29. file.Write( "ttt_menu_settings.txt", cod )
  30. end
Advertisement
Add Comment
Please, Sign In to add comment