Unfininished RCS
This is an unfinished RCS written in C#
If you would like to pick it up and use it go ahead.
It would need to be updated due to the newer CSGO updates though.
Typo in title ^_^
If you would like to pick it up and use it go ahead.
It would need to be updated due to the newer CSGO updates though.
Typo in title ^_^
Code:
private Vector3 AimAngle;
private Vector3 OldAngle;
private Vector3 ViewAngle;
private void RCS( )
{
if ( !antiRCS )
return;
var ourPlayer = GetLocalPlayer();
var shotsFired = Memory.ReadIntMemory( ourPlayer + 0x00001d60, 4 );
if ( shotsFired > prevFired )
{
var punchVector = Memory.ReadVectorMemory( ourPlayer + 0x000013e8 );
ViewAngle.x = punchVector.x - OldAngle.x;
ViewAngle.y = punchVector.y - OldAngle.y;
AimAngle.x -= ViewAngle.x * 2f;
AimAngle.y -= ViewAngle.y * 2f;
mouse_event( 0x0001, ( uint ) AimAngle.x, ( uint ) AimAngle.y, 0, UIntPtr.Zero );
OldAngle.x = punchVector.x;
OldAngle.y = punchVector.y;
prevFired = shotsFired
}
else
{
OldAngle.x = 0;
OldAngle.y = 0;
prevFired = 0;
}
{
Height/2
}
}

