Results 1 to 3 of 3
  1. #1
    uknownpwn's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Post Source Code For Auto Backstab For TF2

    I got this script from A programmar but how do i make it work to use in tf2 can someone help me?
    Heres the code how do i make it hack tf2?its supposed to auto backstab.


    also heres the link https://www.mpgh.net/forum/426-team-f...py-script.html


    code:
    if ( iGetWeaponID( pBaseWeapon ) == WPN_Knife )
    {
    if (*(MakePtr( bool*, pBaseWeapon, gPointers.m_bReadyToBackstab )))
    pCommand->buttons |= IN_ATTACK;
    }

    Current m_bReadyToBackstab offset is 0xAB0

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Well that shouldn't be too hard :\
    Get the current weapon pointer, this code gets the weapon id, if it's the knife it checks if the bool at pWeapon + 0xAB0 is true, if it is then it forces an attack :3
    Ah we-a blaze the fyah, make it bun dem!

  3. #3
    Crabonok's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    345
    Reputation
    10
    Thanks
    8
    My Mood
    Bored
    so replace getweaponID with the weapon name? i know u have to learn coding but if u know can u tell me?

Similar Threads

  1. [Source Code] Auto Backstab for spy script
    By 666Jizzy666 in forum Team Fortress 2 Hacks
    Replies: 86
    Last Post: 07-11-2014, 06:27 AM
  2. Source Codes For an Auto hack good features
    By 11vasher11 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 11
    Last Post: 10-13-2010, 03:05 AM
  3. [REQUEST]Source Code For "Remember Me" in a checkbox
    By Dreamer in forum Visual Basic Programming
    Replies: 5
    Last Post: 11-28-2009, 03:22 AM
  4. [Request] Source Code For AFK Bot 4 CA
    By JIGS4W in forum Visual Basic Programming
    Replies: 2
    Last Post: 10-06-2009, 08:33 AM
  5. Source code for any d3d/memory hack
    By Ragehax in forum C++/C Programming
    Replies: 6
    Last Post: 10-01-2009, 09:10 PM

Tags for this Thread