hi can u convert this script of me please...
6 posts
• Page 1 of 1
hi can u convert this script of me please...
hi guys, can someone pls convert this script i got.
thank you in advance guys...
thank you in advance guys...
-
O.g swayz - First Sergeant
- Posts: 54
- Joined: Tue Feb 05, 2019 3:46 pm
- Location: bundaberg,qld
Re: hi can u convert this script of me please...
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4532
- Joined: Wed May 22, 2019 5:39 am
Re: hi can u convert this script of me please...
HI, can some remove all the edit and insta edit out of this script please, every time i try to do it its come with this error code
ERROR line 281: syntax error near unexpected token 'combo'.
Build failed with 1 errors ...
i dont know what do please help
ERROR line 281: syntax error near unexpected token 'combo'.
Build failed with 1 errors ...
i dont know what do please help
-
O.g swayz - First Sergeant
- Posts: 54
- Joined: Tue Feb 05, 2019 3:46 pm
- Location: bundaberg,qld
Re: hi can u convert this script of me please...
You can change these buttons to something not in use;
or you can use this with it removed;
- Code: Select all
int EDIT_BUTTON = CIRCLE; //Your Edit Button
int CONFIRM_BUTTON = CIRCLE; //Your Confirm Button
int RESET_EDIT_BUTTON = R3; //Your Reset Edit Button
or you can use this with it removed;
- Code: Select all
/*
= = = = = = = = = = = = = = = = = = =
= /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ =
= /\/\/\ Made By ItzSnack /\/\/\ =
= /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ =
= = = = = = = = = = = = = = = = = = =
===================
=== Version 2.8 ===
===================
================
=== FEATURES ===
================
Aim Abuse - Hold L2/LT All the way down
Aim Assist
ADS/FIRE Slowdown
Ghost Peek
Rapid Fire
100% ACCURACY
Drop Shot
Jump Shot
Insta Edit
Auto Run
Strafe
=================
=== Important ===
========================================================================
=== Recommended you read all the text below to understand everything ===
========================================================================
=============================================================
=== Must use Legacy Look Controls for Aim Abuse to work ===
=============================================================
=====================
=== Reset Toggles ===
==================================================
=== OPTIONS/MENU + SHARE/VIEW To Reset Toggles ===
==================================================
===================
=== Toggle Menu ===
=============================================================================================================
=== Before being able to turn ON/OFF toggles you will have to open the toggle menu by doing the following ===
=== OPTIONS/MENU + D-PAD UP ===
=== When ON your LED will flash Rainbow now you able to turn on any features you want ===
=== After you done make sure to disable the toggle menu ===
=== Your LED will be Black when your out of the toggle menu ===
=============================================================================================================
===================================================================================
=== TOGGLES YOU CAN ACTIVATE ===
===================================================================================
=== Hold L2/LT And Press D-PAD UP For Rapid Fire ===
=== 1 Rumble = ON 2 = OFF ===
===================================================================================
=== Hold L2/LT And Hold/Tap R1/RB For 100% ACCURACY ===
===================================================================================
=== Hold L2/LT And Press D-PAD RIGHT For Drop Shot ===
=== 1 Rumble = ON 2 = OFF ===
===================================================================================
=== Hold L2/LT And Hold/Tap D-PAD LEFT For Ghost Peek ===
===================================================================================
=== Hold L2/LT And Press D-PAD DOWN For Jump Shot ===
=== 1 Rumble = ON 2 = OFF ===
===================================================================================
=== Hold L2/LT And Press R3/RS For Strafe ===
=== 1 Rumble = ON 2 = OFF ===
===================================================================================
=== Hold L2/LT And Press TRIANGLE/Y For Anti Recoil ===
=== 1 Rumble = ON 2 = OFF ===
===================================================================================
*/
define ON = TRUE;
define OFF = FALSE;
//Layout
define PS = 0;
define SHARE = 1;
define OPTIONS = 2;
define R1 = 3;
define R2 = 4;
define R3 = 5;
define L1 = 6;
define L2 = 7;
define L3 = 8;
define RX = 9;
define RY = 10;
define LX = 11;
define LY = 12;
define UP = 13;
define DOWN = 14;
define LEFT = 15;
define RIGHT = 16;
define TRIANGLE = 17;
define CIRCLE = 18;
define CROSS = 19;
define SQUARE = 20;
define TOUCHPAD = 27;
//Customize
int R1L1 = OFF; //Change OFF TO ON If you want Flipped Triggers
int ABT = ON; //Change ON TO OFF If you don't want Aim Abuse
int AST = ON; //Change ON TO OFF If you don't want Aim Assist
int ART = OFF; //Change OFF TO ON If you want Auto Run
int CS = OFF; //Change OFF TO ON If you want ADS/FIRE Slowdown
//Customize Toggles
int Recoil = ON; //Change ON TO OFF If you don't want Anti Recoil ON By Defualt
int RFT = OFF; //Change OFF TO ON If you want Rapid Fire ON By Defualt
int DST = OFF; //Change OFF TO ON If you want Drop Shot ON By Defualt
int JST = OFF; //Change OFF TO ON If you want Jump Shot ON By Defualt
int STT = OFF; //Change OFF TO ON If you want Strafe ON By Defualt
//Custom Buttons
int Crouch_Button = R3; //Your Crouch Button
//Speed Of Features
int RF_Speed = 40; //Rapid Fire Speed
int DS_Speed = 30; //Drop Shot Speed
int JS_Speed = 40; //Jump Shot Speed
int ST_Left = 160; //Left Strafe Speed
int ST_Right = 160; //Right Strafe Speed
/*NOTE:
Higher values = Slower
Lower values = Faster
Everything is in milliseconds*/
//Aim Assist
int AP = 17;
int AM = -17;
int Delay = 20;
int Release = 18;
/*NOTE:
Increase AP & AM For more Assist but it can cause shake
Decrease AP & AM If you feel shake and don't like it
Release Is recommended to be 1 higher than AP & AM*/
//Aim Abuse
int HOLD = 230;
int RELEASE = 20;
//Anti Recoil
int AR = 4; //Anti Recoil
//ADS & FIRE Slowdown
int ADS_FIRE_SENS = 80;
/*NOTE
Default = 100
Ranges from 0 to 327*/
//Toggles
int ARS;
int WAIT;
int num,i,a;
int button;
int edit = OFF;
int Remove_Block,Toggle_Rumble,Toggle_Menu;
main {
if(R1L1) {
swap(R1,R2);
swap(L1,L2);}
if(get_val(OPTIONS) && event_press(SHARE)) {
RFT = OFF;
DST = OFF;
JST = OFF;
STT = OFF;
Recoil = OFF;
Toggle_Menu = OFF;
combo_run(Menu_Rumble);}
LED(0,0,0,0);
if(CS)
if(get_val(L2) && get_val(R2)) {
sensitivity(RY,NOT_USE,ADS_FIRE_SENS);
sensitivity(RX,NOT_USE,ADS_FIRE_SENS);}
if(JST && event_press(R2))
combo_run(JumpShot);
if(STT && get_val(L2) && get_val(R2))
combo_run(Strafe);
if(RFT && get_val(R2))
combo_run(RapidFire);
if(DST && get_val(L2) && get_val(R2))
combo_run(DropShot);
if(Recoil && get_val(L2) && get_val(R2))
combo_run(cAR);
if(ABT && get_val(L2)> 90)
combo_run(AimAbuse);
if(AST && get_val(L2)) combo_run(AS);
if(get_val(L2) && get_val(LEFT)) {
set_val(LEFT,0);
combo_run(GhostPeek);}
if(get_val(L2) && get_val(R1)) {
set_val(R1,0);
combo_run(PerfectAccuracy);
} else {
combo_stop(PerfectAccuracy);}
if(ART)
if(get_val(LY) <-90) set_val(L3,100);
if(get_val(OPTIONS) && event_press(UP)) {
Toggle_Menu=!Toggle_Menu;
Toggle_Rumble=!Toggle_Rumble;
}
if(Toggle_Rumble)
combo_run(Menu_Rumble);
if(Toggle_Menu) {
combo_run(Rainbow_Flash);
if(get_val(L2) && event_press(UP)) {
RFT=!RFT;
if(RFT)combo_run(Flash_ON);
else combo_run(Flash_OFF);}
if(get_val(L2) && event_press(RIGHT)) {
DST=!DST;
if(DST)combo_run(Flash_ON);
else combo_run(Flash_OFF);}
if(get_val(L2) && event_press(DOWN)) {
JST=!JST;
if(JST)combo_run(Flash_ON);
else combo_run(Flash_OFF);}
if(get_val(L2) && event_press(R3)) {
STT=!STT;
if(STT)combo_run(Flash_ON);
else combo_run(Flash_OFF);}
if(get_val(L2) && event_press(TRIANGLE)) {
Recoil=!Recoil;
if(Recoil)combo_run(Flash_ON);
else combo_run(Flash_OFF);}
if(get_val(L2)) {
if(event_press(UP)) {
Remove_Block=!Remove_Block;}
if(event_press(RIGHT)) {
Remove_Block=!Remove_Block;}
if(event_press(DOWN)) {
Remove_Block=!Remove_Block;}
if(event_press(R3)) {
Remove_Block=!Remove_Block;}
if(event_press(TRIANGLE)) {
Remove_Block=!Remove_Block;}
set_val(UP,0);set_val(RIGHT,0);set_val(DOWN,0);set_val(R3,0);set_val(TRIANGLE,0);}}
if(get_val(OPTIONS)) {
if(event_press(SHARE)) {
Remove_Block=!Remove_Block;}
set_val(SHARE,0);}
if(event_release(L2)) combo_stop(AimAbuse);
if(abs(get_val(RY)) > AR + 2 || abs(get_val(RX)) > AR + 2) {
combo_stop(cAR);}
}
combo GhostPeek {
set_val(Crouch_Button,100);
wait(20);
wait(10);
set_val(R2,100);
wait(20);
set_val(Crouch_Button,100);
wait(15);
wait(10);}
combo Strafe {
set_val(LX,-100);
wait(ST_Left);
set_val(LX,100);
wait(ST_Right);}
combo JumpShot {
set_val(CROSS,100);
wait(JS_Speed);}
combo AS {
set_val(RY,a_f(RY,AP));
wait(Delay)
set_val(RX,a_f(RX,AP));
wait(Delay)
set_val(RY,a_f(RY,AM));
wait(Delay)
set_val(RX,a_f(RX,AM));
wait(Delay)}
combo cAR {
ARS = get_val(RY) + AR;
if(ARS > 100) ARS = 100;
set_val(RY,ARS);}
combo DropShot {
set_val(Crouch_Button,100);
wait(60);
wait(DS_Speed);
set_val(Crouch_Button,100);}
combo PerfectAccuracy {
set_val(R2,100);
wait(100);
wait(250);
set_val(R2,100);}
combo AimAbuse {
set_val(L2,100);
wait(HOLD);
set_val(L2,0);
wait(RELEASE);}
combo RapidFire {
set_val(R2,100);
wait(40);
set_val(R2,0);
wait(RF_Speed);}
combo Flash_ON {
LED(0,0,2,0);
set_rumble(RUMBLE_A,100);
wait(400);
reset_rumble();
reset_leds();}
combo Flash_OFF {
LED(0,2,0,0);
set_rumble(RUMBLE_B,100);
wait(200);
reset_rumble();
LED(0,0,0,0);
wait(100);
set_rumble(RUMBLE_B,100);
LED(0,2,0,0);
wait(200);
reset_rumble();
reset_leds();}
combo Rainbow_Flash {
LED(2,0,2,0);
wait(100);
LED(0,0,0,0);
wait(100);
LED(0,0,0,2);
wait(100);
LED(0,0,0,0);
wait(100);
LED(0,2,2,0);
wait(100);
LED(0,0,0,0);
wait(100);}
combo Menu_Rumble {
set_rumble(RUMBLE_B,100);
wait(200);
reset_rumble();
Toggle_Rumble = OFF;}
function a_f(p,m) {
if(abs(get_val(p)) < Release)
return m;
return get_val(p);}
function LED(a,b,c,d) {
set_led(LED_1,a);
set_led(LED_2,b);
set_led(LED_3,c);
set_led(LED_4,d);}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4532
- Joined: Wed May 22, 2019 5:39 am
Re: hi can u convert this script of me please...
thank you, i couldnt work it out for the life of me lol
-
O.g swayz - First Sergeant
- Posts: 54
- Joined: Tue Feb 05, 2019 3:46 pm
- Location: bundaberg,qld
6 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 50 guests