GPC SCRIPT LIBRARY

Turbo if i Turbo - ( GTA Design )

If you quick tap a button over 4 times in a row then hold the button it will be turbo pressed while held.. i use this for GTA BMX's and Sprinting. But it allows you to not mess up when in menus or using the ingame phone
( Works for a single button )
Version 1.0
Author ItsCliPzZ
Published Date 2015-07-25 14:07:56
Latest Date 2015-07-25 14:10:53
Downloads 64
VOTE NOW

0

0
Contact Author
Scripts by Author
RELEASE NOTES
-CliPzZ
Code:Select all
//--- [ Turbo_Button - Copy ] - / - (  VARS )  ------! [BELOW] 
int turbo_echo_a_enabled=TRUE; // Enabled? ( Carry on clicking the turbo_echo_a button if it is held and been quick tapped over turbo_echo_a_required times)
int turbo_echo_a=XB1_A; // The Button we will bash
int turbo_echo_a_required=4; // amount of quick taps before we will turbo the button
int turbo_echo_a_dbl_time=0; // << Value used by the script. 
int turbo_echo_a_clicks=0; // Amount of times turbo_echo_a has been quick tapped in a row
int tval=0;
int mod_quicktap_time=2000; // Amount of time allowed before clicks to be considerd a quicktap
//--- [ Turbo_Button - Copy ] - / - (  VARS )  ------! [ABOVE] 

int cro_mods_disabled=FALSE;
init {

}
main { 

if(cro_mods_disabled==TRUE){

} else { 
//--- [ Turbo_Button - Copy ] - / - (  Main )  ------! [BELOW] 
     if (turbo_echo_a_dbl_time>0 && get_val(turbo_echo_a) == FALSE ) {
 turbo_echo_a_dbl_time=turbo_echo_a_dbl_time - get_rtime();
} else if (get_val(turbo_echo_a) == FALSE) {
turbo_echo_a_clicks=0;
}
set_val(TRACE_1,turbo_echo_a_clicks);
 
     if (event_press(turbo_echo_a) && turbo_echo_a_dbl_time<=0) {turbo_echo_a_dbl_time=mod_quicktap_time;}
     else if (event_press(turbo_echo_a)&& turbo_echo_a_dbl_time>0){turbo_echo_a_clicks=turbo_echo_a_clicks + 1;}
 if (  turbo_echo_a_enabled && get_val(turbo_echo_a) && turbo_echo_a_clicks > turbo_echo_a_required) {
  combo_run(bbsh_a);
}
//--- [ Turbo_Button - Copy ] - / - (  Main   )  ------! [ABOVE] 

}
}
//--- [ Turbo_Button - Copy ] - / - (  Combos )  ------! [BELOW] 
 combo bbsh_a {
     set_val(turbo_echo_a,100);
     wait(40);
     set_val(turbo_echo_a, 0);
     tval = 10 * turbo_echo_a_required
     wait(tval);
     set_val(turbo_echo_a, 0);
 }
//--- [ Turbo_Button - Copy ] - / - (  Combos   )  ------! [ABOVE] 


Pin It on Pinterest

Share This