Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DWORD dwEBP = NULL;
- __asm MOV dwEBP, EBP;
- BYTE* bSendPacket = (BYTE*)(*(char**)dwEBP - 0x1);
- if (g_pMe->_GetLifeState() == LIFE_ALIVE && gCvars.aim_psilent)
- {
- float flServerTime = (float)*(int*)((DWORD)pLocal + 0x17CC) * g_pGlobals->interval_per_tick;
- float flNextPrimaryAttack = *(float*)((DWORD)__pLocalBaseEntity.GetActiveWeapon() + 0x159C);
- bool bBulletTime = true;
- if (flNextPrimaryAttack > flServerTime)
- bBulletTime = false;
- if (pCmd->buttons & IN_ATTACK && bBulletTime)
- bSendPacket = false;
- else
- {
- *bSendPacket = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement