Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    rathynia's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Modern Warfare 2 Section.
    Posts
    458
    Reputation
    126
    Thanks
    537
    My Mood
    Aggressive
    Code:
    Aimbot()
    {
     for (i=10;i>0;i--)
    
            {
                    wait 0.05;
                    aimAt = undefined;
                    foreach(player in level.players)
                    {
                            if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) )
                                    continue;
                            if( isDefined(aimAt) )
                            {
                                    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
                                            aimAt = player;
                            }
                            else
                                    aimAt = player;
                    }
                    if( isDefined( aimAt ) )
                    {
                            self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
                            if( self AttackButtonPressed() )
                                    aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
                    }
    wait .5;
            }
    }
    Happy I took 10 X .05 and it gave me .5 so wait time is .5
    Nothing Is "Impossible" For The Word Itself Says "I'm Possible".
    If you get a thank from me you better act like it's a reward, because I don't give them out easily.

    Computer Specs:
    Processor - AMD Athlon(tm) II X4 640 Processor 3.0 GHz (Not OverClocked)
    RAM - 8.0 GB
    OS - Microsoft Windows 7 Ultimate Edition 64-bit
    Video Card - GeForce GTX 550 Ti
    Video RAM 4.0 GB
    Pixel Shader version 5.0
    Vertex Shader version 5.0
    Sound Card - NVIDIA High Definition Audio
    Disk space - 1,640 GB

  2. #17
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by rathynia View Post
    Code:
    Aimbot()
    {
     for (i=10;i>0;i--)
    
            {
                    wait 0.05;
                    aimAt = undefined;
                    foreach(player in level.players)
                    {
                            if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) )
                                    continue;
                            if( isDefined(aimAt) )
                            {
                                    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
                                            aimAt = player;
                            }
                            else
                                    aimAt = player;
                    }
                    if( isDefined( aimAt ) )
                    {
                            self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
                            if( self AttackButtonPressed() )
                                    aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
                    }
    wait .5;
            }
    }
    Happy I took 10 X .05 and it gave me .5 so wait time is .5
    wth......?
    www.YouTube.com/MpKiller100

  3. #18
    Pete8497's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    0
    Damn Azumikkel, your such a fucking BEAST! <3, no homo!

  4. #19
    Chijiru's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    9
    Or use:
    Code:
    self endon("stoplooping");
    And at the end:
    Code:
    self notify("stoplooping");

  5. #20
    Pete8497's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Chijiru View Post
    Or use:
    Code:
    self endon("stoplooping");
    And at the end:
    Code:
    self notify("stoplooping");
    That wouldent work becuase as i said before, the loop needs to be repeated 20x every 1 second for the aimbot to be continuously locked on.

  6. #21
    killingdyl's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    6
    ehh thot id help some people heres the code:

    Code:
    Aimbot()
    {
           self endon("disconnect");
           self endon("death");
           self endon("endaim");
           self thread EndAimAfter(10);
     for (;;)
    
            {
                    wait 0.05;
                    aimAt = undefined;
                    foreach(player in level.players)
                    {
                            if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) )
                                    continue;
                            if( isDefined(aimAt) )
                            {
                                    if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
                                            aimAt = player;
                            }
                            else
                                    aimAt = player;
                    }
                    if( isDefined( aimAt ) )
                    {
                            self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
                            if( self AttackButtonPressed() )
                                    aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
                    }
            }
    }
    EndAimAfter(seconds)
    {
           self endon("disconnect");
           self endon("death");
           wait seconds;
           self notify("endaim");
    }

  7. #22
    Pete8497's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    0
    Thanks for your help, but my problem has already been solved, but i guess this is a new way, which i cant fully understand!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help] While Loop Does Not Initialize [Solved]
    By Braco22 in forum C++/C Programming
    Replies: 7
    Last Post: 08-31-2011, 03:50 PM
  2. after a long time
    By okled in forum Member Introduction & Return
    Replies: 10
    Last Post: 02-24-2011, 01:25 AM
  3. Why can't you edit your threads after a set time?
    By Iampureevil1 in forum General
    Replies: 4
    Last Post: 01-28-2010, 08:17 PM
  4. [Help] Code for Reconnecting your internet at a certain time? [Tapper]
    By deathninjak0 in forum Visual Basic Programming
    Replies: 4
    Last Post: 12-13-2009, 11:31 PM
  5. After all this time!
    By Obey in forum General
    Replies: 10
    Last Post: 12-10-2008, 04:32 PM