super simple script I need
3 posts
• Page 1 of 1
super simple script I need
I need a script that will spam Space which is the A button on Xbox one when I click the Right Arrow and also stop it with the right arrow. need it to spam as fast as possible
thank you!
thank you!
-
layzMich3l - Staff Sergeant
- Posts: 12
- Joined: Sun Jan 14, 2018 11:13 pm
Re: super simple script I need
this will perform what you described. ;)
- Code: Select all
int toggle;
main {
if(event_press(XB1_RIGHT)) {
toggle = !toggle;
}
if(toggle) {
combo_run(SpamA);
}
}
combo SpamA {
set_val(XB1_A, 100);
wait(40);
set_val(XB1_A, 0);
wait(30);
set_val(XB1_A, 0);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: super simple script I need
Thank you!
-
layzMich3l - Staff Sergeant
- Posts: 12
- Joined: Sun Jan 14, 2018 11:13 pm
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 122 guests