Исходник Ayyware ready2paste functionss

Забаненный
Статус
Оффлайн
Регистрация
23 Мар 2017
Сообщения
38
Реакции[?]
18
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
a lot of useless functions but it can be usefull for somebody

void CMiscellaneous::FakeDuck(CUserCmd* m_pCmd, bool& bSendPacket)
{
if (GetAsyncKeyState(VK_CONTROL))
{
static bool bDuck = false;

if (bDuck)
{
bDuck = false;
m_pCmd->buttons &= ~IN_DUCK;
bSendPacket = false;
}
else
{
if (m_pCmd->buttons & IN_DUCK)
{
bSendPacket = true;
bDuck = true;
static bool bFakeCrouch = true;
bFakeCrouch = !bFakeCrouch;
}
}
}
}

void CMiscellaneous::WASDStrafe(CUserCmd* pCmd)
{
IClientEntity* pLocal = hackManager.pLocal();

if (GetAsyncKeyState(0x57)//W
|| GetAsyncKeyState(0x41)//A
|| GetAsyncKeyState(0x53)//S
|| GetAsyncKeyState(0x44))//D
return;

if (GetAsyncKeyState(VK_SPACE) && (pLocal->GetFlags() & FL_ONGROUND)
&& pLocal->GetVelocity().Length() <= 60.f)
{
pCmd->forwardmove = 450.f;
}
auto Delta = 0.f;
if (pLocal->GetVelocity().Length() > 60.f)
{
auto x = 30.f;
auto z = x / pLocal->GetVelocity().Length();
z = fabsf(z);
auto a = x * z;
Delta = a;
}
if (GetAsyncKeyState(VK_SPACE) && !(pLocal->GetFlags() & FL_ONGROUND))
{
if (pCmd->mousedx < 0)
pCmd->sidemove = -450;
if (pCmd->mousedx > 0)
pCmd->sidemove = 450;
if (pCmd->tick_count % 2)
{
pCmd->sidemove = -450;
}
else
{
pCmd->viewangles.y += Delta;
pCmd->sidemove = 450;
}
}
}

void CMiscellaneous::SilentStrafe(CUserCmd* pCmd)
{
static bool flip = false;
if (!flip)
{
if (pCmd->buttons & IN_JUMP)
{
pCmd->viewangles.y -= 0.1f;
pCmd->forwardmove = 400.0f;
pCmd->sidemove = 400.0f;
flip = true;
}
}
else
{
if (pCmd->buttons & IN_JUMP)
{
pCmd->viewangles.y -= -0.1f;
pCmd->forwardmove = 400.0f;
pCmd->sidemove = -400.0f;
flip = false;
}
}
}

void CMiscellaneous::Telehop(CUserCmd* pCmd)
{
static bool bDirection = true;
static bool takethatshitoff = false;
int iFlags = hackManager.pLocal()->GetFlags();

if ((pCmd->buttons & IN_JUMP) && (iFlags & FL_ONGROUND))
{
pCmd->forwardmove = 450;
}

if ((pCmd->buttons & IN_JUMP) || !(iFlags & FL_ONGROUND))
{
if (bDirection)
{
pCmd->sidemove = -450.f;
bDirection = false;
}
else
{
pCmd->sidemove = +450.f;
bDirection = true;
}
}
}




void CEsp::DrawCircleBox(CEsp::ESPBox size, Color color)
{
Render::Text(size.x, size.y, Color(0, 0, 0, 255), Render::Fonts::HFlat, "( )");
}
 
Сверху Снизу