PostHelpSource Code For Auto Backstab For TF2

Posts 1–3 of 3 · Page 1 of 1
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 http://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
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
so replace getweaponID with the weapon name? i know u have to learn coding but if u know can u tell me?
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Talk with us