Results 1 to 2 of 2
  1. #1
    TrueTom96's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired

    Diving Jet's Killstreak

    Hey i want to use this code but i can use it only 1 time in a match how i can do it that i can usit alot of more than 1 time?



    [PHP]tryUseCustomAirstrike()
    {
    self notifyOnPlayerCommand( "g", "+frag" );
    self endon ( "death" );
    self endon ( "disconnect" );


    self waittill ( "g" );

    self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
    self.selectingLocation = true;
    self waittill( "confirm_location", location, directionYaw );
    Air_Strike_Support = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
    self endLocationSelection();
    self.selectingLocation = undefined;

    Airstrike_support = spawn("script_model", (-10000, 0, 25000) );
    Airstrike_support setModel( "vehicle_mig29_desert" );
    Airstrike_support.angles = (70, 0, 0);
    Airstrike_support playLoopSound( "veh_b2_dist_loop" );


    Airstrike_support moveTo( Air_Strike_Support + (0, 0, 3000), 5 );

    //now to make the dive more realistic
    wait 4;
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, -40, 0), self );
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, 40, 0), self );
    wait 0.1;
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(150, -30, 0), self );
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(-150, 30, 0), self );
    wait 0.1;

    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, -180, 0), self );
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, 180, 0), self );
    wait 0.1;
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(50, -180, 0), self );
    MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(-50, 180, 0), self );
    wait 0.1;

    MagicBullet( "ac130_40mm_mp", Airstrike_support.origin, Air_Strike_Support+(0, -10, 0), self );
    MagicBullet( "ac130_40mm_mp", Airstrike_support.origin, Air_Strike_Support+(0, 10, 0), self );
    wait 0.6;

    Airstrike_support.angles = (50, 0, 0);
    Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 );
    wait 0.1;
    Airstrike_support.angles = (30, 0, 0);
    Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 );
    wait 0.1;
    Airstrike_support.angles = (10, 0, 0);
    Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 );
    wait 0.1;
    Airstrike_support.angles = (0, 0, 0);

    Airstrike_support moveTo( Airstrike_support.origin+(10000, 0, 0), 3 );


    wait 3;

    Airstrike_support delete();
    Air_Strike_Support = undefined;

    }[/PHP]

  2. #2
    Yaxxo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Cheerful
    do this
    Code:
    tryUseCustomAirstrike() 
    { 
        self notifyOnPlayerCommand( "g", "+frag" ); 
        self endon ( "death" ); 
        self endon ( "disconnect" ); 
         
         
        self waittill ( "g" ); 
         
            self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) ); 
            self.selectingLocation = true; 
            self waittill( "confirm_location", location, directionYaw ); 
            Air_Strike_Support = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ]; 
            self endLocationSelection(); 
            self.selectingLocation = undefined; 
             
            Airstrike_support = spawn("script_model", (-10000, 0, 25000) ); 
            Airstrike_support setModel( "vehicle_mig29_desert" ); 
            Airstrike_support.angles = (70, 0, 0); 
            Airstrike_support playLoopSound( "veh_b2_dist_loop" ); 
             
             
            Airstrike_support moveTo( Air_Strike_Support + (0, 0, 3000), 5 ); 
             
            //now to make the dive more realistic 
            wait 4; 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, -40, 0), self ); 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, 40, 0), self ); 
            wait 0.1; 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(150, -30, 0), self ); 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(-150, 30, 0), self ); 
            wait 0.1; 
             
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, -180, 0), self ); 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(0, 180, 0), self ); 
            wait 0.1; 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(50, -180, 0), self ); 
            MagicBullet( "stinger_mp", Airstrike_support.origin, Air_Strike_Support+(-50, 180, 0), self ); 
            wait 0.1; 
             
            MagicBullet( "ac130_40mm_mp", Airstrike_support.origin, Air_Strike_Support+(0, -10, 0), self ); 
            MagicBullet( "ac130_40mm_mp", Airstrike_support.origin, Air_Strike_Support+(0, 10, 0), self ); 
            wait 0.6; 
         
            Airstrike_support.angles = (50, 0, 0); 
            Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 ); 
            wait 0.1; 
            Airstrike_support.angles = (30, 0, 0); 
            Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 ); 
            wait 0.1; 
            Airstrike_support.angles = (10, 0, 0); 
            Airstrike_support moveTo( Airstrike_support.origin-(-50, 0, 50), 0.1 ); 
            wait 0.1; 
            Airstrike_support.angles = (0, 0, 0); 
             
            Airstrike_support moveTo( Airstrike_support.origin+(10000, 0, 0), 3 ); 
             
             
            wait 3; 
             
            Airstrike_support delete(); 
            Air_Strike_Support = undefined; 
         wait 30;
         self thread tryUseCustomAirstrike();
    }
    You'll be able to use it once every 30 seconds, the self thread tryUseCustomAirstrike(); enables the airstrike

Similar Threads

  1. Jet The Hawk
    By Zakurna in forum Showroom
    Replies: 6
    Last Post: 10-23-2009, 04:46 PM
  2. Scuba Diving
    By moosicgawd in forum General
    Replies: 13
    Last Post: 10-05-2009, 01:23 AM
  3. JET MAN HACK
    By shahins1 in forum Trade Accounts/Keys/Items
    Replies: 5
    Last Post: 01-10-2008, 07:08 PM
  4. Jet Man
    By arunforce in forum General
    Replies: 0
    Last Post: 06-06-2007, 02:45 PM
  5. Flying Ramming Jets?
    By Dave84311 in forum General
    Replies: 5
    Last Post: 05-24-2006, 10:52 AM