throw sticky bombs out rc bandito gta V (PS4)

easily and effectively throw stickies out your rc car
Version1.1
Authorstrapcrafter78
Publish DateMon, 15 Mar 2021 - 01:06
Last UpdateMon, 15 Mar 2021 - 01:06
Downloads10
RATE


0

0

Code: Select all
//GTA V RC BANDITO STICKY BOMBS BY strapcrafter78
//IMPORTANT, BEFORE USE SET DRIVEBY CONTROL TYPE TO FIRE
//hold down dpad and press r3 to activate/deactivate
//to throw sticky, select it by swiping left and right on your touchpad then press
//L1 to throw, R1 to expload
 
int active = FALSE;
int first = TRUE;
int rear = FALSE;
int down = TRUE;
 
main {
    if (first == TRUE) {
        first = FALSE;
        combo_run(LEDS);
    }
    if ((get_val(PS4_DOWN)) && (event_press(PS4_R3))) {
        if (active == FALSE) {
            active = TRUE;
            combo_run(LEDS);
            combo_run(vibrate2);
        } else {
            active = FALSE;
            combo_run(LEDS);
            combo_run(vibrate1);
        }
    }
    if (active == TRUE) {
        if (event_press(PS4_L1)) {
            combo_run(throw);
        }
        if (event_press(PS4_R1)) {
            combo_run(expload);
        }
    }
}
 
combo throw {
    set_val(PS4_DOWN, 100);
    set_val(PS4_L1, 100);
    wait(50);
}
 
combo expload {
    set_val(PS4_DOWN, 100);
    wait(200);
    set_val(PS4_DOWN, 100);
    set_val(PS4_LEFT, 100);
    wait(50);
}
 
combo LEDS {
    if (active == TRUE) {
        set_led(0, 0);
        set_led(1, 0);
        set_led(2, 1);
        set_led(3, 0);
    } else {
        set_led(0, 0);
        set_led(1, 1);
        set_led(2, 0);
        set_led(3, 0);
    }
}
 
combo vibrate1 {
    set_rumble(RUMBLE_A, 100);
    wait(300);
    reset_rumble();
}
 
combo vibrate2 {
    set_rumble(RUMBLE_B, 100);
    wait(300);
    reset_rumble();
}