❓ RCS

Posts 1–7 of 7 · Page 1 of 1
❓ RCS
I have tryed many thing from different forums but nothing worked for me.

Now I am asking for help because since 5 day I am destroying my head to get RCS back to work.

Source C++
Code:
rcs(local_player->getAngles());

void rcs(float* angles)
{
	float MyPunch[2];

	MyPunch[0] = local_player->getPunch()[0];
	MyPunch[1] = local_player->getPunch()[1];
	angles[0] = local_player->getAngles()[0] - (MyPunch[0] - old[0]) * 2.f;
	angles[1] = local_player->getAngles()[1] - (MyPunch[1] - old[1]) * 2.f;
	angles[2] = 0.0f;

	util->clampAngles(angles);

	old[0] = MyPunch[0];
	old[1] = MyPunch[1];

	local_player->setAngles(angles);

	Sleep(1);
}
MyPunch[0] = local_player->getPunch()[0]* 2.f;
MyPunch[1] = local_player->getPunch()[1]* 2.f;
angles[0] = local_player->getAngles()[0] - (MyPunch[0] - old[0]) ;
angles[1] = local_player->getAngles()[1] - (MyPunch[1] - old[1]) ;
idk try this
Quote Originally Posted by certmemer View Post
MyPunch[0] = local_player->getPunch()[0]* 2.f;
MyPunch[1] = local_player->getPunch()[1]* 2.f;
angles[0] = local_player->getAngles()[0] - (MyPunch[0] - old[0]) ;
angles[1] = local_player->getAngles()[1] - (MyPunch[1] - old[1]) ;
idk try this
Nope nothing did changed still no RCS
why dont you people ever use a vector class???
How can an RCS Source code become outdated it didn't change at all????? And why would you ask "your friend" if he wrote this?
xDD how come nobody has told him to update his offsets?
It has nothing to do with that rcs function, that works for sure but your offsets are outdated I believe.
Quote Originally Posted by affe2626 View Post
xDD how come nobody has told him to update his offsets?
It has nothing to do with that rcs function, that works for sure but your offsets are outdated I believe.
Nope they aren't everything else is working
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us