IW Jitter Error
3 posts
• Page 1 of 1
IW Jitter Error
hi
please fix
please fix
- Code: Select all
int onoff;
int rumble;
int run = TRUE; //Change TRUE TO FALSE If you dont Auto Run
int JT = TRUE; //Change TRUE TO FALSE If you dont want Jump Shot
main {
if(run)
if(get_val(12) == -100)
set_val(8,100);
deadzone(4,7,100,100);
if(onoff && event_release(4))
combo_run(Reload);
if(get_val(7) && event_press(5)) {
onoff=!onoff;
rumble(onoff);}
if(rumble)
combo_run(RUMBLE);
if(onoff && get_val(4)) {
set_val(7,100);
combo_run(Jitter);
if(JT)
combo_run(Jump);}}
combo Jitter {
set_val(20, 100);
wait(36);
set_val(3, 100);
wait(17);
set_val(17, 100);
wait(36);}
combo Jump {
set_val(19,100);
wait(20);
set_val(19,0);
wait(10);}
combo Reload {
wait(100);
set_val(20,100);
wait(20);}
combo RUMBLE {
set_rumble(RUMBLE_A,100);
wait(250);
reset_rumble();
wait(200);
rumble--;}
function rumble(f_bln) {
if(f_bln)
rumble = 1;
else
rumble = 2;}
-
OpGreece - First Sergeant
- Posts: 45
- Joined: Thu Nov 15, 2018 2:30 pm
Re: IW Jitter Error
Fixed for T1:
- Code: Select all
int onoff;
int irumble;
int run = TRUE; //Change TRUE TO FALSE If you dont Auto Run
int JT = TRUE; //Change TRUE TO FALSE If you dont want Jump Shot
main {
if(run)
if(get_val(12) == -100)
set_val(8,100);
deadzone(4,7,100,100);
if(onoff && event_release(4))
combo_run(Reload);
if(get_val(7) && event_press(5)) {
onoff=!onoff;
rumble(onoff);}
if(irumble)
combo_run(RUMBLE);
if(onoff && get_val(4)) {
set_val(7,100);
combo_run(Jitter);
if(JT)
combo_run(Jump);}}
combo Jitter {
set_val(20, 100);
wait(36);
set_val(3, 100);
wait(17);
set_val(17, 100);
wait(36);}
combo Jump {
set_val(19,100);
wait(20);
set_val(19,0);
wait(10);}
combo Reload {
wait(100);
set_val(20,100);
wait(20);}
combo RUMBLE {
set_rumble(RUMBLE_A,100);
wait(250);
reset_rumble();
wait(200);
irumble--;
}
function rumble(f_bln) {
if(f_bln)
irumble = 1;
else
irumble = 2;}
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: IW Jitter Error
Scachi wrote:Fixed for T1:
- Code: Select all
int onoff;
int irumble;
int run = TRUE; //Change TRUE TO FALSE If you dont Auto Run
int JT = TRUE; //Change TRUE TO FALSE If you dont want Jump Shot
main {
if(run)
if(get_val(12) == -100)
set_val(8,100);
deadzone(4,7,100,100);
if(onoff && event_release(4))
combo_run(Reload);
if(get_val(7) && event_press(5)) {
onoff=!onoff;
rumble(onoff);}
if(irumble)
combo_run(RUMBLE);
if(onoff && get_val(4)) {
set_val(7,100);
combo_run(Jitter);
if(JT)
combo_run(Jump);}}
combo Jitter {
set_val(20, 100);
wait(36);
set_val(3, 100);
wait(17);
set_val(17, 100);
wait(36);}
combo Jump {
set_val(19,100);
wait(20);
set_val(19,0);
wait(10);}
combo Reload {
wait(100);
set_val(20,100);
wait(20);}
combo RUMBLE {
set_rumble(RUMBLE_A,100);
wait(250);
reset_rumble();
wait(200);
irumble--;
}
function rumble(f_bln) {
if(f_bln)
irumble = 1;
else
irumble = 2;}
thanks you Scachi
-
OpGreece - First Sergeant
- Posts: 45
- Joined: Thu Nov 15, 2018 2:30 pm
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 53 guests