Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Дайте пж код EstimateAbsVelocity

  • Автор темы Автор темы Rajem
  • Дата начала Дата начала
Дайте пж код EstimateAbsVelocity
Код:
Expand Collapse Copy
id EstimateAbsVelocity( IClientEntity* p, Vector& vel )
{
    typedef void (__thiscall* EstimateAbsVelocityFn)( IClientEntity* thisptr, Vector& vel );
    static EstimateAbsVelocityFn pfnEstimateAbsVelocity = NULL;
    if ( !pfnEstimateAbsVelocity )
    {
        pfnEstimateAbsVelocity = (EstimateAbsVelocityFn) dwFindPattern(
            (DWORD)GetModuleHandle("client.dll"), 0x690000,
            (PBYTE)"\x55\x8B\xEC\x83\xEC\x0C\x56\x8B\xF1\xE8\x00\x00\x00\x00\x3B\xF0", "xx????xxxx");//+16
  
        if(!pfnEstimateAbsVelocity)
            return;
    }
    pfnEstimateAbsVelocity( p, vel );
}
 
Назад
Сверху Снизу