Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. DWORD dwEBP = NULL;
  2. __asm MOV dwEBP, EBP;
  3. BYTE* bSendPacket = (BYTE*)(*(char**)dwEBP - 0x1);
  4.  
  5. if (g_pMe->_GetLifeState() == LIFE_ALIVE && gCvars.aim_psilent)
  6. {
  7. float flServerTime = (float)*(int*)((DWORD)pLocal + 0x17CC) * g_pGlobals->interval_per_tick;
  8. float flNextPrimaryAttack = *(float*)((DWORD)__pLocalBaseEntity.GetActiveWeapon() + 0x159C);
  9. bool bBulletTime = true;
  10. if (flNextPrimaryAttack > flServerTime)
  11. bBulletTime = false;
  12. if (pCmd->buttons & IN_ATTACK && bBulletTime)
  13. bSendPacket = false;
  14. else
  15. {
  16. *bSendPacket = true;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement