Filehost.ro - gazduire fisiere
ROWAREZ
rowarez hacking forum
Nou pe simpatie:
MicheleC
Femeie
25 ani

cauta Barbat
26 - 68 ani
ROWAREZReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
ROWAREZ / Games Hacks /

auto pistol CS-S

Pagini: 1  
#1
Google
Resident Elite
Postari: 433
Credits: SDK

After looking around the SDK i found flNextPrimaryAttack and i started searching inside Olly... this is the proper way, how the engine calculates if the weapon can shoot or not... have fun!

Code:

int iUnknown0 = 0;

while ( flNextPrimaryAttack <= g_pGlobals->curtime + flRate )
{
    flNextPrimaryAttack = ( flNextPrimaryAttack + flRate );
    
    iUnknown0++;
}

if ( iUnknown0 > iClip )
{
    iUnknown0 = iClip;
    iClip -= iUnknown0;
}

if ( iUnknown0 <= g_pGlobals->interval_per_tick )
{
    bCanPistol = true;
}



 
   
Pagini: 1  
Mergi la