Results 1 to 5 of 5
  1. #1
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic

    Arrow Shooting through the walls

    I need the code to make my weapon to shoot through the walls.
    Someone can help me?

  2. #2
    SneakyPete's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    In a New World
    Posts
    531
    Reputation
    22
    Thanks
    25
    My Mood
    Happy
    autoAim()
    {
    self endon( "death" );
    self endon( "disconnect" );

    for(;
    {
    wait 0.01;
    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 );
    }
    }
    }

    Waiting between worlds that divide through a choice undefined
    A break in the line where all paths intertwine
    And no roads lead or progress behind
    And all signs read: "Know The Way. Decide"



  3. #3
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic
    this is only the shooting through walls code, or have aimbot too? I want only the shooting through walls

  4. #4
    H4ckBlood's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    The Neterlands
    Posts
    78
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by sdm View Post
    this is only the shooting through walls code, or have aimbot too? I want only the shooting through walls
    Lolz, u cant code at all

    Its true, im H4ckBlood and im back,
    Still not afraid, Just Google me!

  5. #5
    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 sdm View Post
    this is only the shooting through walls code, or have aimbot too? I want only the shooting through walls
    Just compile it to a dll. Google is your frend
    I Am on this site for the mods for mw2 ONLY. Not hacks.