Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. function widget:GetInfo()
  2.     return {
  3.         name    = "Grabinput Local",
  4.         desc    = "Enables GrabInput in Windowed mode",
  5.         author  = "abma",
  6.         date    = "2012-08-11",
  7.         license = "GPL v2 or later",
  8.         layer   = 5,
  9.         enabled = true
  10.     }
  11. end
  12.  
  13. function widget:Initialize()
  14.         Spring.SendCommands("grabinput 1")
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement