GTA/Grand Theft Auto Game/ TOUCH/P4 Menu Scripts

This includes features for game and online menus. Here's what's included. Turbo Cross/A, Turbo Jump, Close Application, Quick Online, Third View Aim Sensitivity, Commit Suicide, Snacks, Armor, Passive Mode and Vehicle Access. I give a description of what each feature does in the script.
Version1.00
AuthorJ.Guza
Publish DateFri, 29 Jul 2016 - 12:35
Last UpdateFri, 29 Jul 2016 - 12:35
Downloads565
RATE


0

0

Release Notes: I have disabled Third View Aim Sensitivity because it has the same activate as Quick online. I use it with the same activate but in a different slot on my Titan One.
Code: Select all
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ INSTRUCTIONS ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
//When I mention script, I mean the entire GPC script. When I mention "feature(s)".                                                                                     
//I mean a small part of the GPC script that carries out a specific duty, like the   
//ones I listed just below, with a number assigned to each one. They're basically                           
//like little scripts within the GPC script that carry out that task. I will   
//highlight "features" with quotation marks so you know what I'm refering to.
 
//                                   TAGGING
//   //*  By tag/tagged/tagging, I simply mean disabled and noted as such with //*
//        usually located to the far left of the page before the "features" lines.
//        I use these "tags" in this script to disable "features" or lines that I
//        have alternative ways in place to be used, should you choose to use
//        them. If you choose to use the alternate way, you would then tag the 
//        line(s) of the part you no longer wish to use and then simply take off 
//        the tag(s) on the line(s) you wish to use. Lines that have been tagged, 
//        don't take up any byte space. If you know you won't use the feature
//        ever, thne get rid of it, it you like, but you should check to see if
//        if I have an alternate way fist, that might work better for you.
 
//  [1]-  These numbers on the right side of the script are assigned to a
//  [16]  particular "feature". If you tag these "features" or lines or remove   
//        tags from these lines, you will then know what "feature" they apply to.     
//        I gave a description of each "feature" and the numbers I assigned to 
//        them, just below. You may notice skipped numbers for "features"
//        throughout the script. This is because when I wrote up my script, I had
//        put all the "features" on one page and labeled them. I have these 
//        missing "features" in the GPC library as well under different titles.
 
//@@@@@@@@@@@@@@@@@@@@@@@@@@[ FEATURES DESCRIPTIONS ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
//                          [ INDEPENDANT FEATURES ]
 
//________________
//-[TURBO CROSS/A]                                                    [Always On]   7
//****************                                                                  7
//Can be used to Auto Sprint with Standard conrol settings, but not for FPS or      7
//FPS2 controller settings. I still use this with FPS settings as a quick way to    7
//to buy ammunition, snacks, armor, and more. Do so by just holding down on         7
//CROSS/A/(19).                                                                     7
//_____________                                             
//-[TURBO JUMP]                                                       [Always On]   8
//*************                                                                     8
//By holding down on SQUARE/X/(20), it allows you to jump repeatedly without        8
//doing repetitive button presses. I find this useful when wearing armored          8
//outfits, as it's the fastest way to move while wearing armored outfits. Turbo     8
//Jump also works great when jumping inside of buildings, in tunnels, up steep      8
//inclines and on land in certain areas that normally are bogged down. In those     8
//cases Turbo Jump would be faster than trying to sprint. I've done a number of     8
//tests in said situations and found that having Auto Sprint on/off while Turbo     8
//Jumping, made no difference in the times posted. So Turbo Sprint does not slow    8
//you down or speed you up when using with Turbo Jump.                              8
 
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ MENU FEATURES ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
//                             MENU INSTRUCTIONS
//I have two "features" with the same activates, but one I tagged and I personally 
//don't use both within the same slot on my Titan One. The one I tagged is called             
//THIRD VIEW AIM SENSITIVITY. You may not find it useful to you anyways, as I only   
//use it on rare occasions.
 
//For Xbox or PC, I don't know that the console menu and game menus would work the 
//same. This applies the top three "features". Should you ever need to make   
//adjustments on any of the "features" because they aren't going through all the 
//stages to complete the desired result just do the following.
 
//You can use my combos as a blueprint, even if not working. If it's the case of
//either the game menus or TOUCH/P4/(27) menus directional/select/back commands
//being wrong, just change them. You can check to see if they are all the proper
//commands to get the desired result. To do so, grab your controller and see what
//button presses are required to do what you are trying to do and write them down.
//Once you get all of those, just change what I have to be the right commands.
 
//This will apply to wait times. If you notice, all of my wait times are 100 on
//the first lines in a set, except on the TOUCH/P4 menues. So just set your combos
//up the same way, based off of mine. For example, if TOUCH/P4/(27) is the first
//set_val, set your combo up the same way and do the same with the others as well.
//If somethings not working and you know you have the right commands in the combo,
//put in higher numbers on all the wait times that aren't suppposed to remain 100.
//Once you get it working, you can then keep trying lower numbers to see if you
//can get those wait times down some and it still work.
 
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[ CONSOLE MENU ]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//____________________
//-[CLOSE APPLICATION]                                            [Activate Only]   9
//********************                                                              9
//This is used whenever you want to use the Close Application in a hurry. Simply    9
//press LEFT/(15) & PS/XBOX/(0) to use. I use it if anyone tries to kill me during  9
//the heist and rams me with a vehicle. It's a quick way out, if you can't kill     9
//yourself first. I hate giving people that satisfaction.                           9
//                                                                                  9
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[ GAME MENU ]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 
//_______________                                                                   10/10*
//-[QUICK ONLINE]                                                 [Activate Only]   10/10*
//***************                                                                   10/10*
//Used once you get into GTA story mode. Simply press LEFT/(15) & OPTIONS/MENU/(2)  10/10*
//to go online. This will then automatically get you from story node to online.     10/10*
//I have default on [10] to just go online, but have made note of another option to 10/10*
//go to invite only session [10+] in the COMBOS section.                            10/10*
//_____________________________ 
//-[THIRD VIEW AIM SENSITIVITY]                                   [Activate Only]   11
//*****************************                                                     11
//I use this on more rare occasions, like during a few heists. I find I like to     11
//turn my aim sensitivity down when using turret guns on "Insurgents", "Weeds",     11
//and Humane Labs finale. Also as gunner in front on Humane Labs finale. Using      11
//this, will bring up the game menu and leave it on the third person aim            11
//sensitivity setting. Activate by pressing LEFT/(15) & OPTIONS/MENU/(2).           11
 
//&&&&&&&&&&&&&&&&&&&&[ ONLINE SCRIPTS VIA TOUCH/P4/(27) ]&&&&&&&&&&&&&&&&&&&&&&&&&
 
//These are subject to change. Rockstar has changed these menus a number of times.   
//Being inside of apartments, garges, or on a heist setup with spectate other
//players available at the top of the menu, will not allow any of the "features" 
//below to function properly.
//_________________
//-[COMMIT SUICIDE]                                               [Activate Only]   12
//*****************                                                                 12
//This really works best if you don't have a silencer on your pistol, because if    12
//you do, the suicide will be via cyanide capsule, which is slower. It will also    12
//slow you down a touch if you don't have a weapon of any sort in your hand. Just   12                         
//press LEFT/(15) & CIRCLE/B/(18) to commit suicide. *If need be adjust the time    12
//in the Suicide combo. I haven't really test it out in a lagged out public         12
//session. I made note of the most likely line you would need to change.            12
//_________
//-[SNACKS]                                                       [Activate Only]   13
//*********                                                                         13
//This brings up snacks and goes to the bottom of the snacks first. I have it so    13
//it just leaves it on the bottom snacks, but not use any. This is so you can       13
//select them as you need them and then you'll be able to use the snacks from       13
//bottom to top. I find this extremely useful, especially with FPS/FPS2 controller  13
//settings. With FPS type settings, you can bring up snacks and use them when       13
//needed and still be able to use your selected weapon. So much of an advantge      13
//vs. standard control settings. To use, just double tap R3/RS/(5).                 13
//________
//-[ARMOR]                                                        [Activate Only]   14
//********                                                                          14
//This will put on armor from your inventory quickly by just pressing LEFT/(15) &   14
//R3/RS/(5). So it will use the armor and back out of the menu when you use this.   14
//_______________
//-[PASSIVE MODE]                                                 [Activate Only]   15
//***************                                                                   15
//I have this so it quickly changes into or out of passive mode and leaves the      15
//menu up so you can see what mode you are in. Use this by pressing LEFT/(15) &     15
//L1/LB/(6).                                                                        15
//_________________   
//-[VEHICLE ACCESS]                                               [Activate Only]   16
//*****************                                                                 16
//This simply brings up the menu to the allow you to choose who you allow in your   16
//vehicle. I use this often. To use simply press LEFT/(15) & R1/RB/(3).             16
 
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ DEFINES ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
//DEFINE (0) | PS4_PS | PS3_PS | XB1_XBOX | XB360_XBOX                 
//DEFINE (1) | PS4_SHARE | PS3_SELECT | XB1_VIEW | XB360_BACK                     //AUTO SPRINT ...1.... [AUTO SPRINT'S Activate/Deactivate]
//DEFINE (2) | PS4_OPTIONS | PS3_START | XB1_MENU | XB360_STAR  //SINGLE & DOUBLE TAP R1/RB/(3) ...2.... [AUTO SPRINT'S Activate/Deactivate]
//DEFINE (3) | PS4_R1 | PS3_R1 | XB1_RB | XB360_RB                              //HAIR TRIGGERS ...3.... [AUTO SPRINT'S Activate/Deactivate]
//DEFINE (4) | PS4_R2 | PS3_R2 | XB1_RT | XB360_RT             //LANDING GEAR/SIRENS/KERS BOOST ...4.... [Activate/Deactivate]
//DEFINE (5) | PS4_R3 | PS3_R3 | XB1_RS | XB360_RS             //LANDING GEAR/SIRENS/KERS BOOST ...5.... [Always On]                               
//DEFINE (6) | PS4_L1 | PS3_L1 | XB1_LB | XB360_LB                          //D-PAD SENSITIVITY ...6.... [Always On]
//DEFINE (7) | PS4_L2 | PS3_L2 | XB1_LT | XB360_LT                              //TURBO CROSS/A ...7.... [Always On]
//DEFINE (8) | PS4_L3 | PS3_L3 | XB1_LS | XB360_LS                                 //TURBO JUMP ...8.... [Always On]
//DEFINE (9) | PS4_RX | PS3_RX | XB1_RX | XB360_RX                          //CLOSE APPLICATION ...9.... [Activate Only]
//DEFINE (10)| PS4_RY | PS3_RY | XB1_RY | XB360_RY                //QUICK ONLINE PUBLIC SESSION ...10... [Activate Only]             
//DEFINE (11)| PS4_LX | PS3_LX | XB1_LX | XB360_LX           //QUICK ONLINE INVITE ONLY SESSION ...10+.. [Activate Only] 
//DEFINE (12)| PS4_LY | PS3_LY | XB1_LY | XB360_LY                 //THIRD VIEW AIM SENSITIVITY ...11... [Activate Only] 
//DEFINE (13)| PS4_UP | PS3_UP | XB1_UP | XB360_UP                             //COMMIT SUICIDE ...12... [Activate Only] 
//DEFINE (14)| PS4_DOWN | PS3_DOWN | XB1_DOWN | XB360_DOWN                             //SNACKS ...13... [Activate Only] 
//DEFINE (15)| PS4_LEFT | PS3_LEFT | XB1_LEFT | XB360_LEFT                              //ARMOR ...14... [Activate Only] 
//DEFINE (16)| PS4_RIGHT | PS3_RIGHT | XB1_RIGHT | XB360_RIGHT                   //PASSIVE MODE ...15... [Activate Only] 
//DEFINE (17)| PS4_TRIANGLE | PS3_TRIANGLE | XB1_Y | XB360_Y                   //VEHICLE ACCESS ...16... [Activate Only] 
//DEFINE (18)| PS4_CIRCLE | PS3_CIRCLE | XB1_B | XB360_B             
//DEFINE (19)| PS4_CROSS | PS3_CROSS | XB1_A | XB360_A               
//DEFINE (20)| PS4_SQUARE | PS3_SQUARE | XB1_X | XB360_X                                             
//DEFINE (27)| PS4_TOUCH | XB1_P4                                                                                       
 
   //Defines must go at the top of the page.                     
 
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ INT's ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
   //Int's must go below the defines, but above the init's.   
 
    int activateCloseApplication = FALSE;                                      //9
    int activateQuickOnline      = FALSE;                                      //10/10+
//*    int activateAimSensitivty    = FALSE;                                      //11
    int activateCommitSuicide    = FALSE;                                      //12
    int Button_Timing1;                                                        //13 
    int Button_State1            = 0;                                          //13 
    int Double_Tap_Gap1          = 200;     //Gap in between taps. Changeable. //13 
    int activateArmor            = FALSE;                                      //14 
    int activatePassiveMode      = FALSE;                                      //15 
    int activateVehicleAccess    = FALSE;                                      //16 
 
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ INIT's ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   
 
   //Init's must go below the int's, but before the main{               
 
//---------------------------------------------------------------------------------
main{  //Main Start (Goes below init's and before the "features").
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ FEATURES ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
   //TURBO CROSS/A/         
    if (get_val(19)) {                                                         //7 
        combo_run(TurboCrossA);                                                //7 
}                                                                              //7 
   //TURBO JUMP--------------------------------------------------------------------
    if (get_val(20)) {                                                         //8
        combo_run(TurboJump);                                                  //8 
}                                                                              //8   
   //CLOSE APPLICATION-------------------------------------------------------------
    if (get_val(15) && event_press(0)) {                                       //9 
        activateCloseApplication = !activateCloseApplication;                  //9 
        combo_run(CloseApplication);                                           //9 
}                                                                              //9 
   //QUICK ONLINE------------------------------------------------------------------
    if (get_val(15) && event_press(2)) {                                       //10/10+ 
        activateQuickOnline = !activateQuickOnline;                            //10/10+ 
        combo_run(QuickOnline);                                                //10/10+
}                                                                              //10/10+
   //THIRD VIEW AIM SENSITIVITY----------------------------------------------------
//*    if (get_val(15) && event_press(2)) {                                       //11 
//*        activateAimSensitivty = !activateAimSensitivty;                        //11
//*        combo_run(AimSensitivty);                                              //11
//*}                                                                              //11   
   //COMMIT SUICIDE----------------------------------------------------------------
    if (get_val(15) && event_press(18)) {                                      //12 
        activateCommitSuicide = !activateCommitSuicide;                        //12
        combo_run(CommitSuicide);                                              //12
}                                                                              //12
   //SNACKS------------------------------------------------------------------------
    if (DoubleTap1(5) == TRUE) {                                               //13 
        combo_run(Snacks);                                                     //13 
}                                                                              //13 
   //ARMOR-------------------------------------------------------------------------
    if (get_val(15) && event_press(5)) {                                       //14 
        activateArmor = !activateArmor;                                        //14 
        combo_run(Armor);                                                      //14 
}                                                                              //14 
   //PASSIVE MODE------------------------------------------------------------------
    if (get_val(15) && event_press(6)) {                                       //15 
        activatePassiveMode = !activatePassiveMode;                            //15 
        combo_run(PassiveMode);                                                //15 
}                                                                              //15 
   //VEHICLE ACCESS----------------------------------------------------------------
    if (get_val(15) && event_press(3)) {                                       //16 
        activateVehicleAccess  = !activateVehicleAccess;                       //16
        combo_run(VehicleAccess);                                              //16 
}                                                                              //16 
//---------------------------------------------------------------------------------   
}  //Main End (Goes after the featured scripts & before the combo's).
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ COMBO'S ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
   //Combo's go after the Main End and before FUNCTIONS.     
combo TurboCrossA  {                                                           //7 
    set_val(19, 100);                                                          //7
    wait(100);                                                                 //7
    set_val(19, 0);                                                            //7
    wait(100);                                                                 //7
    set_val(19, 0);                                                            //7
}                                                                              //7
//---------------------------------------------------------------------------------
combo TurboJump  {                                                             //8       
    set_val(20, 100);                                                          //8     
    wait(100);                                                                 //8     
    set_val(20, 0);                                                            //8       
    wait(100);                                                                 //8       
    set_val(20, 0);                                                            //8
}                                                                              //8
//---------------------------------------------------------------------------------
combo CloseApplication {                                                       //9
    wait(100);                                                                 //9
    wait(600);                                                                 //9
    set_val(2, 100);                                                           //9
    wait(100);                                                                 //9
    wait(600);                                                                 //9
    set_val(19, 100);                                                          //9
    wait(100);                                                                 //9
    wait(600);                                                                 //9
    set_val(19, 100);                                                          //9
    wait(100);                                                                 //9
}                                                                              //9
//---------------------------------------------------------------------------------
combo QuickOnline {                                                            //10/10+ 
    wait(100);                                                                 //10/10+
    wait(500);                                                                 //10/10+
    set_val(16, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(130);                                                                 //10/10+
    set_val(16, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(130);                                                                 //10/10+
    set_val(16, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(130);                                                                 //10/10+
    set_val(16, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(130);                                                                 //10/10+
    set_val(16, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(500);                                                                 //10/10+
    set_val(19, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(500);                                                                 //10/10+
    set_val(13, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(130);                                                                 //10/10+
    set_val(19, 100);                                                          //10/10+
    wait(100);                                                                 //10/10+
    wait(500);                                                                 //10/10+
   //PUBLIC ONLINE SESSION---------------------------------------------------------   
    set_val(19, 100);        //From story mode to public online session.       //10
    wait(100);               //If you use this section, tag the section below. //10
    wait(500);                                                                 //10
    set_val(19, 100);                                                          //10
    wait(100);                                                                 //10
}                                                                              //10
   //INVITE ONLY SESSION-----------------------------------------------------------
//*    set_val (14, 100);       //From story mode to invite only online session.  //10+ 
//*    wait(100);               //If you use this section, tag the section above. //10+
//*    wait(130);                                                                 //10+
//*    set_val(19, 100);                                                          //10+
//*    wait(100);                                                                 //10+
//*    wait(500);                                                                 //10+
//*    set_val(19, 100);                                                          //10+
//*    wait(100);                                                                 //10+
//*}                                                                              //10+
//---------------------------------------------------------------------------------
combo AimSensitivty {                                                          //11
    wait(100);                                                                 //11
    wait(500);                                                                 //11
    set_val(16, 100);                                                          //11
    wait(100);                                                                 //11
    wait(130);                                                                 //11
    set_val(16, 100);                                                          //11
    wait(100);                                                                 //11
    wait(130);                                                                 //11
    set_val(16, 100);                                                          //11
    wait(100);                                                                 //11
    wait(130);                                                                 //11
    set_val(16, 100);                                                          //11
    wait(100);                                                                 //11
    wait(130);                                                                 //11
    set_val(16, 100);                                                          //11
    wait(100);                                                                 //11
    wait(500);                                                                 //11
    set_val(19, 100);                                                          //11
    wait(100);                                                                 //11
    wait(250);                                                                 //11
    set_val(19, 100);                                                          //11
    wait(100);                                                                 //11
    wait(250);                                                                 //11
    set_val(14, 100);                                                          //11
    wait(100);                                                                 //11
    wait(150);                                                                 //11
    set_val(14, 100);                                                          //11
    wait(100);                                                                 //11
    wait(150);                                                                 //11
    set_val(14, 100);                                                          //11
    wait(100);                                                                 //11
    wait(150);                                                                 //11
    set_val(14, 100);                                                          //11
    wait(100);                                                                 //11
    wait(150);                                                                 //11
    set_val(14, 100);                                                          //11
    wait(100);                                                                 //11
}                                                                              //11
//---------------------------------------------------------------------------------
combo CommitSuicide {                                                          //12
    set_val(27, 100);                                                          //12
    wait(650);                                                                 //12
    wait(100);                                                                 //12
    set_val(13, 100);                                                          //12
    wait(100);                                                                 //12
    wait(175);                                                                 //12
    set_val(13, 100);                                                          //12
    wait(100);                                                                 //12
    wait(175);                                                                 //12
    set_val(19, 100);                                                          //12
    wait(100);                                                                 //12
    wait(175);                                                                 //12
    set_val(19, 100);                                                          //12
    wait(100);                                                                 //12
    wait(300);               //< If not working, try higher numbers here.      //12
    set_val(19, 100);                                                          //12
    wait(100);                                                                 //12
}                                                                              //12
//---------------------------------------------------------------------------------
combo Snacks {                                                                 //13
    set_val(27, 100);                                                          //13
    wait(650);                                                                 //13
    wait(100);                                                                 //13
    set_val(14, 100);                                                          //13
    wait(100);                                                                 //13
    wait(175);                                                                 //13
    set_val(19, 100);                                                          //13       
    wait(100);                                                                 //13
    wait(175);                                                                 //13
    set_val(13, 100);                                                          //13
    wait(100);                                                                 //13
    wait(175);                                                                 //13 
    set_val(13, 100);                                                          //13
    wait(100);                                                                 //13
    wait(175);                                                                 //13
    set_val(19, 100);                                                          //13
    wait(100);                                                                 //13
    wait(175);                                                                 //13
    set_val(13, 100);                                                          //13
    wait(100);                                                                 //13
}                                                                              //13
//---------------------------------------------------------------------------------
combo Armor {                                                                  //14
    set_val(27, 100);                                                          //14
    wait(650);                                                                 //14
    wait(100);                                                                 //14
    set_val(14, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(19, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(14, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(19, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(13, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(13, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(13, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(19, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(18, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(18, 100);                                                          //14
    wait(100);                                                                 //14
    wait(175);                                                                 //14
    set_val(18, 100);                                                          //14
    wait(100);                                                                 //14
}                                                                              //14
//---------------------------------------------------------------------------------
combo PassiveMode {                                                            //15
    set_val(27, 100);                                                          //15
    wait(650);                                                                 //15
    wait(100);                                                                 //15
    set_val(13, 100);                                                          //15
    wait(100);                                                                 //15
    wait(175);                                                                 //15
    set_val(19, 100);                                                          //15
    wait(100);                                                                 //15
}                                                                              //15
//---------------------------------------------------------------------------------
combo VehicleAccess {                                                          //16 
    set_val(27, 100);                                                          //16
    wait(650);                                                                 //16
    wait(100);                                                                 //16
    set_val(14, 100);                                                          //16
    wait(100);                                                                 //16
    wait(175);                                                                 //16
    set_val(14, 100);                                                          //16
    wait(100);                                                                 //16
    wait(175);                                                                 //16
    set_val(14, 100);                                                          //16
    wait(100);                                                                 //16
    wait(175);                                                                 //16
    set_val(19, 100);                                                          //16
    wait(100);                                                                 //16
    wait(175);                                                                 //16
    set_val(14, 100);                                                          //16
    wait(100);                                                                 //16
    wait(175);                                                                 //16
    set_val(14, 100);                                                          //16
    wait(100);                                                                 //16
}                                                                              //16
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ FUNCTIONS ]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
   //SNACKS
function DoubleTap1(Button) {                                                  //13
   // Detect Double-Tap                                                        //13
    if(Button_State1 == 0) {                                                   //13
           if(get_val(Button)) Button_State1 = 1;                              //13
    } else if(Button_State1 == 1) {                                            //13
           if(!get_val(Button)) { Button_Timing1 = 0; Button_State1 = 2; }     //13
    } else if(Button_State1 == 2) {                                            //13
           if(get_val(Button)) { Button_State1 = 1; return TRUE; }             //13
              Button_Timing1 = Button_Timing1 + get_rtime();                   //13
           if(Button_Timing1 > Double_Tap_Gap1) Button_State1 = 0;             //13
    }                                                                          //13
}                                                                              //13