-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Breaker:
static bool wilupdate;
static float LastLBYUpdateTime = 0;
float server_time = G::LocalPlayer->GetTickBase() * I::Globals->interval_per_tick;
if (server_time >= LastLBYUpdateTime)
{
LastLBYUpdateTime = server_time + 1.1f;
wilupdate = true;
}
else
{
wilupdate = false;
}
// LZ Do edgeScan
if (!G::SendPacket)
{
if (G::PressedKeys[66]) //b
G::UserCmd->viewangles.y -= 90.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y += 90.f;
}
else {
if(G::PressedKeys[66]) //b
G::UserCmd->viewangles.y += 90.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y -= 90.f;
}
if (wilupdate)
{
G::SendPacket = true;
if (G::PressedKeys[66]) //b
G::UserCmd->viewangles.y -= 180.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y += 180.f;
}
Simple Resolver:
if (hitbox[int] == HITBOX_HEAD || hitbox[int] == HITBOX_NECK)
{
if (target->GetVelocity().Length2D() > 0.1f && target->GetFlags() & FL_ONGROUND)
wilupdate = true;
if (!wilupdate)
return false;
}
static bool wilupdate;
static float LastLBYUpdateTime = 0;
float server_time = G::LocalPlayer->GetTickBase() * I::Globals->interval_per_tick;
if (server_time >= LastLBYUpdateTime)
{
LastLBYUpdateTime = server_time + 1.1f;
wilupdate = true;
}
else
{
wilupdate = false;
}
// LZ Do edgeScan
if (!G::SendPacket)
{
if (G::PressedKeys[66]) //b
G::UserCmd->viewangles.y -= 90.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y += 90.f;
}
else {
if(G::PressedKeys[66]) //b
G::UserCmd->viewangles.y += 90.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y -= 90.f;
}
if (wilupdate)
{
G::SendPacket = true;
if (G::PressedKeys[66]) //b
G::UserCmd->viewangles.y -= 180.f;
else if (G::PressedKeys[78]) //N
G::UserCmd->viewangles.y += 180.f;
}
Simple Resolver:
if (hitbox[int] == HITBOX_HEAD || hitbox[int] == HITBOX_NECK)
{
if (target->GetVelocity().Length2D() > 0.1f && target->GetFlags() & FL_ONGROUND)
wilupdate = true;
if (!wilupdate)
return false;
}