[SNIPPET] Move Crosshair/Camera

With these functions you can move the Gta Sa Camera.

0AB1: @MouseMOVE_DOWN 0
0AB1: @MouseMOVE_UP 0
0AB1: @MouseMOVE_LEFT 0
0AB1: @MouseMOVE_RIGHT 0

I already made a Aimbot with these things and its really cool.


Code:
:MouseMOVE_RIGHT
0AA2: 31@ = load_library "user32.dll"
0AA4: 30@ = get_proc_address "mouse_event" library 31@ 
IF
0A4C:   mouse_not_inverted_vertically
THEN
    0AA5: call 30@ num_params 5 pop 0 0 0 0 -2 0
ELSE
    0AA5: call 30@ num_params 5 pop 0 0 0 0 2 0
END
0AA3: free_library 31@
0AB2: 0

:MouseMOVE_LEFT
0AA2: 31@ = load_library "user32.dll"
0AA4: 30@ = get_proc_address "mouse_event" library 31@ 
IF
0A4C:   mouse_not_inverted_vertically
THEN
    0AA5: call 30@ num_params 5 pop 0 0 0 0 2 0
ELSE
    0AA5: call 30@ num_params 5 pop 0 0 0 0 -2 0
END
0AA3: free_library 31@
0AB2: 0

:MouseMOVE_DOWN
0AA2: 31@ = load_library "user32.dll"
0AA4: 30@ = get_proc_address "mouse_event" library 31@ 
0AA5: call 30@ num_params 5 pop 0 0 0 -2 0 0
0AA3: free_library 31@
0AB2: 0

:MouseMOVE_UP
0AA2: 31@ = load_library "user32.dll"
0AA4: 30@ = get_proc_address "mouse_event" library 31@ 
0AA5: call 30@ num_params 5 pop 0 0 0 2 0 0
0AA3: free_library 31@
0AB2: 0
 
Top