Thread: Hijack a Sentry

Results 1 to 12 of 12
  1. #1
    xbeatsszzx's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Behind a dumpster jerking off. xD jks
    Posts
    2,519
    Reputation
    13
    Thanks
    1,508
    My Mood
    Asleep

    Hijack a Sentry

    this is really really old btw

    Credits go to OwnedTom, I really like it so thats a good reason to leech it




    Code:
    onPlayerSpawned()
    {
        self endon( "disconnect" );
    
        for(;;)
        {
            self waittill( "spawned_player" );
            self thread MonitorSentryHijacking();
        }
    }
    
    MonitorSentryHijacking()
    {
        self endon("disconnect");
        self endon("death");
    
        if (!isDefined(self.HijackText))
        {
            self.HijackText = createFontString("default", 1.3);
            self.HijackText setPoint("CENTER", "CENTER", 0, 0);
            self.HijackText.foreGround = true;
        }
        self.HijackText setText("");
        self.HijackBarProgress = 0;
        self.HijackSentry = undefined;
    
        for(;;)
        {
            foreach( sentry in level.turrets )
            {
                if( distance( sentry.origin, self.origin ) < 80 && sentry.owner != self && !isDefined( sentry.carriedBy ) )
                {
                    self.HijackSentry = sentry;
                    if ( self useButtonPressed() )
                    {
                        self.HijackText setText("");
                        if (!isDefined(self.hijackBar) && !isDefined(self.hijackBarText))
                        {
                            self.hijackBar = createPrimaryProgressBar( 45 );
                            self.hijackBarText = createPrimaryProgressBarText( 25 );
                            self.hijackBar.bar.color = (1,0,0);
                            self.hijackBar.bar.x = -60;
                            self.hijackBar.x = 0; 
                            self.hijackBar.bar.y = 0;
                            self.hijackBar.y = 0; 
                            self.hijackBarText.x = 0; 
                            self.hijackBarText.y = 10;
                            self.hijackBarText setText("Hijacking Sentry Gun...");
                        }
                        self.HijackBarProgress += 0.05;
                        self.hijackBar updatebar( self.HijackBarProgress );
                        wait .05;
                        if (self.HijackBarProgress == 1)
                        {
                            self.hijackBar destroyElem();
                            self.hijackBarText destroyElem();
                            self.HijackText setText("");
                            self.HijackSentry maps\mp\killstreaks\_autosentry::sentry_setOwner( self );
                            self maps\mp\killstreaks\_autosentry::setCarryingSentry  ( self.HijackSentry, false );
                            self.HijackSentry = undefined;
                        }
                    }
                    else
                    {
                        self.HijackText setText("Press and hold [{+reload}] to hijack Sentry Gun");
                        self.HijackBarProgress = 0;
                        if (isDefined(self.hijackBar))
                                self.hijackBar destroyElem();
                        if (isDefined(self.hijackBarText))
                                self.hijackBarText destroyElem();
                    }
                }
                else
                {
                    if ( sentry == self.HijackSentry )
                    {
                            if (isDefined(self.hijackBar))
                                    self.hijackBar destroyElem();
                            if (isDefined(self.hijackBarText))
                                    self.hijackBarText destroyElem();
    
                            self.HijackText setText("");
                            self.HijackSentry = undefined;
                            self.HijackBarProgress = 0;
                    }
                }
            }
            wait .05;
        }
    }
    I Am on this site for the mods for mw2 ONLY. Not hacks.

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Nice.
    Did you make it or did you find it?
    because this is for Xbox.
    (Or just converted?)

    Nice find!

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    Wasn't this already posted before?

  4. #4
    xbeatsszzx's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Behind a dumpster jerking off. xD jks
    Posts
    2,519
    Reputation
    13
    Thanks
    1,508
    My Mood
    Asleep
    Quote Originally Posted by Jorndel View Post
    Nice.
    Did you make it or did you find it?
    because this is for Xbox.
    (Or just converted?)

    Nice find!
    I found it xD

    Quote Originally Posted by cgallagher21 View Post
    Wasn't this already posted before?
    Nopz


    This is for xbox, some1 should convert it, unfortunetly i don't know how to.
    I Am on this site for the mods for mw2 ONLY. Not hacks.

  5. #5
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    I'll try to convert it.

  6. #6
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    lol, is not that old, you have copied the text that iAegle wrote in another site¡¡¡¡,

    Code:
    Credits go to OwnedTom, I really like it so thats a good reason to leech it Big Grin

  7. #7
    xbeatsszzx's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Behind a dumpster jerking off. xD jks
    Posts
    2,519
    Reputation
    13
    Thanks
    1,508
    My Mood
    Asleep
    i know ^^^^
    I Am on this site for the mods for mw2 ONLY. Not hacks.

  8. #8
    jorricks3's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    The netherlands, limburg
    Posts
    199
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk
    AMAZING!!!






  9. #9
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Great stuff
    I have big mess.

  10. #10
    apache-wd-forum's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    5
    THX it works on alteriw *nice*

  11. #11
    fatjoe2015's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    84
    Reputation
    10
    Thanks
    203
    My Mood
    Amazed
    lol i posted this way before -.-

  12. #12
    alvarogt1995's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    1
    nice mod

Similar Threads

  1. Can i be found if i Hijacked someones steam account?
    By tom95ek in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 12
    Last Post: 04-20-2010, 06:19 PM
  2. MW2 Killstreaks Guide PART 2 COUNTER-UAV, SENTRY GUN, PRECISION AIRSTRIKE
    By A⁴ in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 6
    Last Post: 04-09-2010, 07:01 AM
  3. Plan hijacked in Mexico!
    By Mr. Jingles in forum United States of America
    Replies: 6
    Last Post: 09-24-2009, 07:22 PM
  4. Hijack this thread
    By Hyperion in forum Operation 7 General
    Replies: 6
    Last Post: 12-30-2008, 11:46 AM
  5. i hijacked irc
    By ace76543 in forum General
    Replies: 5
    Last Post: 08-16-2007, 07:46 PM