Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; used coordinates are relative to the active window's client area (excluding title bar, menu and borders)
- ; set GTA window to Windowed 800x600 px (Otherwise Coordinates have to be adjusted)
- CoordMode, Mouse, Client
- CoordMode, Pixel, Client
- ; wait, push notification and run script (function under f1)
- sleep 2000
- traytip, AFK Script running, press F2 to pause and F12 to reload script
- send {f1}
- f12::Reload ; reload script on F12 (change button here if needed)
- send {f1}
- f2::pause, toggle ; pause script on F2 (change button here if needed)
- f1::
- loop {
- ; click on 'place bet' button
- MouseMove, 545, 505
- sleep, 400
- Click, down, left
- sleep, 70
- Click, up, left
- sleep, 400
- ; click on horse (change the second coordinate in the next line for different horses)
- MouseMove, 300, 200 ; (344: first, 463: second, 577: third, 701: fourth, 821: fifth, 946: sixth,)
- sleep, 400
- Click, down, left
- sleep, 70
- Click, up, left
- sleep, 400
- ; click on right arrow to increase bet (change the sleep time in line 40 to increase/decrease bet amount)
- MouseMove, 609, 300
- sleep, 400
- Click, down, left
- sleep, 2950 ; (2950: 2000 dollar bet, 10: 200 dollar bet)
- ; move mouse to 'place bet' button and hold until race is over
- MouseMove, 545, 450
- sleep, 33000
- Click, up, left
- sleep, 2000
- ; click on 'play again' button
- MouseMove, 412, 561
- sleep, 200
- Click, down, left
- sleep, 80
- Click, up, left
- sleep, 1000
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement