Исходник Better Circle Strafe [Ayyware Ready]

Начинающий
Статус
Оффлайн
Регистрация
12 Апр 2017
Сообщения
12
Реакции[?]
0
Поинты[?]
0
void RotateMovement(CUserCmd* cmd, float rotation)
{
rotation = DEG2RAD(rotation);
float cosr, sinr;
cosr = cos(rotation);
sinr = sin(rotation);
float forwardmove, sidemove;
forwardmove = (cosr * cmd->forwardmove) - (sinr * cmd->sidemove);
sidemove = (sinr * cmd->forwardmove) - (cosr * cmd->sidemove);
cmd->forwardmove = forwardmove;
cmd->sidemove = sidemove;
}

void CMiscHacks::circlestrafer(CUserCmd * cmd, Vector& Originalview)
{
int CircleKey = (GetAsyncKeyState('C'));
IClientEntity* pLocal = hackManager.pLocal();
Vector View(cmd->viewangles);
float blackcock = 0;
if (GUI.GetKeyState(CircleKey))
{
cmd->forwardmove = 450.f;
int random = rand() % 100;
int random2 = rand() % 1000;
static bool dir;
static float current_y = View.y;
if (pLocal->GetVelocity().Length() > 50.f)
{
blackcock += 0.00007;
current_y += 3 - blackcock;
}
else
{
blackcock = 0;
}
View.y = current_y;
if (random == random2)
View.y += random;
// Clamp(View);
RotateMovement(cmd, current_y);
}
else
{
float blackcock = 0;
}
}
 
Начинающий
Статус
Оффлайн
Регистрация
8 Апр 2017
Сообщения
103
Реакции[?]
18
Поинты[?]
0
void RotateMovement(CUserCmd* cmd, float rotation)
{
rotation = DEG2RAD(rotation);
float cosr, sinr;
cosr = cos(rotation);
sinr = sin(rotation);
float forwardmove, sidemove;
forwardmove = (cosr * cmd->forwardmove) - (sinr * cmd->sidemove);
sidemove = (sinr * cmd->forwardmove) - (cosr * cmd->sidemove);
cmd->forwardmove = forwardmove;
cmd->sidemove = sidemove;
}

void CMiscHacks::circlestrafer(CUserCmd * cmd, Vector& Originalview)
{
int CircleKey = (GetAsyncKeyState('C'));
IClientEntity* pLocal = hackManager.pLocal();
Vector View(cmd->viewangles);
float blackcock = 0;
if (GUI.GetKeyState(CircleKey))
{
cmd->forwardmove = 450.f;
int random = rand() % 100;
int random2 = rand() % 1000;
static bool dir;
static float current_y = View.y;
if (pLocal->GetVelocity().Length() > 50.f)
{
blackcock += 0.00007;
current_y += 3 - blackcock;
}
else
{
blackcock = 0;
}
View.y = current_y;
if (random == random2)
View.y += random;
// Clamp(View);
RotateMovement(cmd, current_y);
}
else
{
float blackcock = 0;
}
}
lol invade is on russian forum but cant read russian gj
 
Забаненный
Статус
Оффлайн
Регистрация
12 Фев 2017
Сообщения
61
Реакции[?]
46
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
void RotateMovement(CUserCmd* cmd, float rotation)
{
rotation = DEG2RAD(rotation);
float cosr, sinr;
cosr = cos(rotation);
sinr = sin(rotation);
float forwardmove, sidemove;
forwardmove = (cosr * cmd->forwardmove) - (sinr * cmd->sidemove);
sidemove = (sinr * cmd->forwardmove) - (cosr * cmd->sidemove);
cmd->forwardmove = forwardmove;
cmd->sidemove = sidemove;
}

void CMiscHacks::circlestrafer(CUserCmd * cmd, Vector& Originalview)
{
int CircleKey = (GetAsyncKeyState('C'));
IClientEntity* pLocal = hackManager.pLocal();
Vector View(cmd->viewangles);
float blackcock = 0;
if (GUI.GetKeyState(CircleKey))
{
cmd->forwardmove = 450.f;
int random = rand() % 100;
int random2 = rand() % 1000;
static bool dir;
static float current_y = View.y;
if (pLocal->GetVelocity().Length() > 50.f)
{
blackcock += 0.00007;
current_y += 3 - blackcock;
}
else
{
blackcock = 0;
}
View.y = current_y;
if (random == random2)
View.y += random;
// Clamp(View);
RotateMovement(cmd, current_y);
}
else
{
float blackcock = 0;
}
}
-rep reposted my thread
 
Забаненный
Статус
Оффлайн
Регистрация
27 Май 2017
Сообщения
17
Реакции[?]
8
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
it's not adaptive :^)
 
Сверху Снизу