Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ------- Put the mouse right back to where you clicked --------
- ~f::
- WeaponDrawn := !WeaponDrawn
- Return
- ~LButton::
- MouseGetPos, mouseX, mouseY
- Return
- ~LButton Up::
- If (!WeaponDrawn){
- If (!GetKeyState("RButton", "P")){
- ; This is so you can still use both mousebuttons to move without getting whiplash
- MouseMove, mouseX, mouseY
- }
- }
- Return
- ~RButton::
- MouseGetPos, mouseX, mouseY
- Return
- ~RButton Up::
- If (!GetKeyState("LButton", "P")){
- ; This is so you can still use both mousebuttons to move without getting whiplash
- MouseMove, mouseX, mouseY
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement