Dekita

Untitled

Apr 19th, 2014
439
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #===============================================================================
  2. # Snippet to show FPS on Start-up
  3. #===============================================================================
  4. module FPS_Snippet ; $fps_showing = false # do not change this
  5. #===============================================================================
  6.  
  7. Use_Snippet = true
  8.  
  9. if Use_Snippet && $fps_showing == false
  10. $fps_showing = true ; a = 'user32.dll' ; b = 'keybd_event'
  11. Win32API.new(a, b, ['i', 'i', 'l', 'l'], '').call(0x71,0,0,0)
  12. end
  13.  
  14. end
  15. #===============================================================================
  16. # http://dekitarpg.wordpress.com/
  17. #===============================================================================
RAW Paste Data