GTAOnline AFK Horse Racing Script

****PC & XBOX ONE SCRIPT**** ****CREDITS TO SAINT FOR BASELINE SCRIPT*** ****MODIFIED BY ZANZO420**** Modified the script from Saint's race combo timeline since the glitch has been patched. Mainly to increase the bets from 100chips to 10,000chips. The script will select the #1 horse on the roster, and bets the max bet (10,000). 1st: Go to the Casino racing tables, sit down and press A to place a bet. 2nd: Move your cursor under the RULES button. 3rd: Press RS to start the loop, sit back, go outside, take a nap, whatever, and come back to loads of chips.
Version1.0
AuthorZanzo
Publish DateTue, 17 Sep 2019 - 06:41
Last UpdateTue, 17 Sep 2019 - 06:41
Downloads489
RATE


2

0

Code: Select all
// GPC Online Library
// GTAOnline-AFK_Horse_Raceing.gpc
 
/*
                ****PC & XBOX ONE SCRIPT****
        ****CREDITS TO SAINT FOR BASELINE SCRIPT***
                ****MODIFIED BY ZANZO420****
 
 Modified the script from Saint's race combo timeline since the glitch has been patched.
 Mainly to increase the bets from 100chips to 10,000chips.
 
 The script will select the #1 horse on the roster, and bets the max bet (10,000).
 
 1st: Go to the Casino racing tables, sit down and press A to place a bet.
 2nd: Move your cursor under the RULES button.
 3rd: Press RS to start the loop, sit back, go outside, take a nap, whatever, and come back to loads of chips.
 
*/

int race_combo = 10000;
int onoff;
 
main {
    if (event_press(XB1_RS)){
        onoff = !onoff;
        race_combo = 10000;
    }
    if(onoff){
        if(race_combo){combo_run(race);}
    }
}
 
combo race {
    set_val(XB1_RIGHT, 100);
    wait(100);
    set_val(XB1_RIGHT, 0);
    wait(500);
    set_val(XB1_A, 100);
    wait(100);
    set_val(XB1_A, 0);
    wait(1000);
    set_val(XB1_LEFT, 100);
    wait(250);
    set_val(XB1_LEFT, 0);
    wait(250);
    set_val(XB1_UP, 100);
    wait(250);
    set_val(XB1_UP, 0);
    wait(250);
    set_val(XB1_UP, 100);
    wait(250);
    set_val(XB1_UP, 0);
    wait(250);
    set_val(XB1_UP, 100);
    wait(250);
    set_val(XB1_UP, 0);
    wait(250);
    set_val(XB1_UP, 100);
    wait(250);
    set_val(XB1_UP, 0);
    wait(250);
    set_val(XB1_UP, 100);
    wait(250);
    set_val(XB1_UP, 0);
    wait(250);
    set_val(XB1_A, 100);
    wait(250);
    set_val(XB1_A, 0);
    wait(250);
    set_val(XB1_RIGHT, 100);
    wait(250);
    set_val(XB1_RIGHT, 0);
    wait(250);
    //set_val(XB1_RIGHT, 100);
    //wait(250);
    //set_val(XB1_RIGHT, 0);
    //wait(250);
    set_val(XB1_Y, 100);
    wait(120);
    set_val(XB1_Y, 0);
    wait(250);
    set_val(XB1_DOWN, 100);
    wait(120);
    set_val(XB1_DOWN, 0);
    wait(240);
    //set_val(XB1_DOWN, 0);
    set_val(XB1_A, 100);
    //wait(240);
    //set_val(XB1_A, 0);
    wait(4000);
    set_val(XB1_A, 100);
    wait(4000);
    set_val(XB1_A, 100);
     set_val(XB1_A, 0);
    wait(2000);
    //set_val(XB1_A, 100);
    //wait(4000);
    //set_val(XB1_A, 100);
    //wait(4000);
    //set_val(XB1_A, 100);
    //wait(4000);
    //set_val(XB1_A, 100);
    //wait(4000);
    //set_val(XB1_A, 100);
    //wait(4000);
    set_val(XB1_A, 100);
    wait(120);
    set_val(XB1_A, 0);
    wait(1500);
    set_val(XB1_DOWN, 100);
    wait(120);
    set_val(XB1_DOWN, 0);
    wait(790);
    set_val(XB1_A, 100);
    wait(150);
    set_val(XB1_A, 0);
    wait (500);
}