Advertisement
julioCCs

testMouseMov.vb

Dec 9th, 2012
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.56 KB | None | 0 0
  1. Imports System ' basic imports
  2. Imports GTA ' basic imports
  3. Imports System.Windows.Forms ' needed to have access to "keys" enumeration, for example
  4.  
  5. Public Class BasicScript
  6.     Inherits Script
  7.        
  8.     Public Sub New()
  9.         Me.interval = 10
  10.     End Sub
  11.    
  12.     private sub msg(sMsg as string, time as int32)
  13.         Native.Function.Call("PRINT_STRING_WITH_LITERAL_STRING_NOW", "STRING", sMsg, time, 1)
  14.     end sub
  15.        
  16.     Private Sub general_tick(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Tick
  17.         msg(game.mouse.movement.tostring, 15)
  18.     end sub        
  19. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement