Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import "gta5ih.lib"
- GTA5_GetInput(*Output)
- EndImport
- struct POINT
- x dw 0h
- y dw 0h
- ends
- struct GTA5_IH_STATE
- KeyBoardLastKey dw 0h;- get the last Key that was pressed!
- MouseButtonAny dw 0h;- is '1' If any MouseButton is pressed Or '2' If both MouseButtons are pressed otherwise '0'!
- MouseButton dw 0h;- is '1' If MouseButton 1 was pressed Or '2' If MouseButton 2 was pressed And '3' If both are pressed otherwise '0'!
- Mouse POINT;- mouse position
- ends
- ;-> Call the function when injected: GTA5_GetInput(@GTA5_IH_STATE)
- ;Note: The very first call to GTA5_GetInput will only 'initialize' the function!
- ;loop...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement