GPC SCRIPT LIBRARY

Gta v car rapidboost

this one works the others I made are shit
Version 3.0
Author Kylespeed2
Published Date 2017-04-20 00:12:59
Latest Date 2017-04-20 12:57:57
Downloads 14
VOTE NOW

0

2
Contact Author
Scripts by Author
RELEASE NOTES
might need fixing I'm just publishing this just so I don't lose this
Code:Select all
// GPC Online Library
// antirecoil_and_rapidfire,_both_adjustable_on_the_fly,_with_on/off_and_save_function.gpc

//-------------------------------------------------------------------------------------------
//  ANTIRECOIL and RAPIDFIRE, both adjustable on the fly, with ON/OFF and SAVE function
//-------------------------------------------------------------------------------------------
//  Version: 4.00
//  System: Multiplatform 
//  Controller: Multiplatform 
//  Game: All FPS games
//  Author: LEX LOST
//-------------------------------------------------------------------------------------------

//               XBOX INSTRUCTIONS:

// RAPIDFIRE (ON by default - Start value: 13)
// Hold LT and Press A to Enable or Disable Rapidfire (with rumble notify)
// Hold A and tap UP to increase Rate of Fire (+1 each tap on UP, while holding A)
// Hold A and tap DOWN to decrease Rate of Fire (-1 each tap on DOWN, while holding A)
// Save Rate of Fire: Hold LT and press MENU (or START, for XBOX360 users)

// ANTIRECOIL (ON by default - Start value: 30)
// Hold LT and Press X to Enable or Disable Antirecoil (with rumble notify)
// Hold LT and tap UP to increase Antirecoil (+1 each tap on UP, while holding LT)
// Hold LT and tap DOWN to decrease Antirecoil (-1 each tap on DOWN, while holding LT)
// Save Antirecoil: Hold LT and press Y
    
//-------------------------------------------------------------------------------------------

//               PLAYSTATION INSTRUCTIONS:

// RAPIDFIRE (ON by default - Start value: 13)
// Hold L2 and Press CROSS to Enable or Disable Rapidfire (with rumble notify)
// Hold CROSS and tap UP to increase Rate of Fire (+1 each tap on UP, while holding CROSS)
// Hold CROSS and tap DOWN to decrease Rate of Fire (-1 each tap on DOWN, while holding CROSS)
// Save Rate of Fire: Hold L2 and press OPTIONS (or START, for PS3 users)

// ANTIRECOIL (ON by default - Start value: 30)
// Hold L2 and Press SQUARE to Enable or Disable Antirecoil (with rumble notify)
// Hold L2 and tap UP to increase Antirecoil (+1 each tap on UP, while holding L2)
// Hold L2 and tap DOWN to decrease Antirecoil (-1 each tap on DOWN, while holding L2)
// Save Antirecoil: Hold L2 and press TRIANGLE

//-------------------------------------------------------------------------------------------

//DECLARARATIONS - define

define RECOIL_UP = 13;     
define RECOIL_DOWN = 14;   
define ONLY_WITH_SCOPE = TRUE; // if TRUE Antirecoil only when scoping

//-------------------------------------------------------------------------------------------

//VARIABLES - int

int fire_button;
int scope_button;
int hold_time;
int rest_time;
int recoil_onoff = FALSE; // if TRUE ANTIRECOIL is ON by default - if FALSE, OFF by default
int rapid_onoff = TRUE; // if TRUE RAPIDFIRE is ON by default - if FALSE, OFF by default
int RATE_OF_FIRE = 923456; // Range: 1 to 25 RPS (Round/s)
int ANTI_RECOIL;
int anti_recoil;

//-------------------------------------------------------------------------------------------

//INITIALIZATION - init

init{
    if(get_console() == PIO_XB1) {
        fire_button = 4;
        scope_button = 7;
        }
    else { 
        fire_button = 4;
        scope_button = 7;
        }
    RATE_OF_FIRE=get_pvar(SPVAR_1,0,250,923456);
    ANTI_RECOIL=get_pvar(SPVAR_2,0,100,30);
    }
//-------------------------------------------------------------------------------------------

//MAIN BLOCK ROUTINES

main { 

    if(get_val(5)  && event_press(34))  {
        combo_run(vibrate); recoil_onoff=!recoil_onoff;
        }
    if(get_val(4)) {if(event_press(33))  {
        combo_run(vibrate); rapid_onoff=!rapid_onoff;}
        }    
    if(rapid_onoff) {if(get_val(4)) {
        combo_run(RAPID_FIRE);
        }
        if(get_val(XB360_RX))
    sensitivity(XB360_RX,40,130);
    sensitivity(XB360_RY,65,130);
    deadzone(XB360_RX,XB360_RY,0,0);
    stickize(XB360_RX,XB360_RY,110);

if(get_val(XB360_LX))
    sensitivity(XB360_LX,40,130);
    sensitivity(XB360_LY,65,130);
    deadzone(XB360_LX,XB360_LY,0,0);
    stickize(XB360_LX,XB360_LY,110);

         
        hold_time = 500 / RATE_OF_FIRE;
        }
        }
//-------------------------------------------------------------------------------------------

//COMBO BLOCKS

combo vibrate {
    set_rumble(RUMBLE_A, 100);
    wait(250);
    reset_rumble();
    }
combo RAPID_FIRE {
    set_val(fire_button,100);
    wait(hold_time);
    set_val(fire_button,100);
    wait(hold_time);
    set_val(fire_button,100);
  }
    
combo AntiRecoil {
    if(get_val(fire_button)&&(recoil_onoff)) {
    anti_recoil = get_val(10) + ANTI_RECOIL;
    if(anti_recoil > 100) anti_recoil = 100;
    set_val(10, anti_recoil);
    }
}//End 

Pin It on Pinterest

Share This