TalkingC++/Coding No Recoil Script For Rust

Posts 1–6 of 6 · Page 1 of 1
C++/Coding No Recoil Script For Rust
Hello, i want to make a no recoil for the ak in rust but i have never coded before in my life and i got told that c++ is easier to learn. but what would i need to know when making a no recoil script. would i just need to know how to make a mouse event/movement to follow the pattern of the ak. or is it alot more complicated that. and would i need to make it undetected or is c++ already undetected by it self.

Thank you For Read, Btw Anything Help.
Quote Originally Posted by RaspyxModz View Post
Hello, i want to make a no recoil for the ak in rust but i have never coded before in my life and i got told that c++ is easier to learn. but what would i need to know when making a no recoil script. would i just need to know how to make a mouse event/movement to follow the pattern of the ak. or is it alot more complicated that. and would i need to make it undetected or is c++ already undetected by it self.

Thank you For Read, Btw Anything Help.
just an exmaple
Code:
float compensation[10][2] = {{2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}};
float mouseX = 0, mouseY = 0;

while (true)
{
	if (GetAsyncKeyState(VK_LBUTTON) == -32768)
	{
		for (short int i = 0; i < 10; i++)
		{
			//get current mouse position
			mouseX = compensation[i][0];
			mouseY = compensation[i][1];
			//new mouse position from the current position modified by mouseX/mouseY.
			//set new mouse position
		}
	}
}
Thank you
Quote Originally Posted by gogogokitty View Post
just an exmaple
Code:
float compensation[10][2] = {{2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}};
float mouseX = 0, mouseY = 0;

while (true)
{
	if (GetAsyncKeyState(VK_LBUTTON) == -32768)
	{
		for (short int i = 0; i < 10; i++)
		{
			//get current mouse position
			mouseX = compensation[i][0];
			mouseY = compensation[i][1];
			//new mouse position from the current position modified by mouseX/mouseY.
			//set new mouse position
		}
	}
}
Quick Question Does this code just detected when you left click and then found the positons of the cursor and change it to the middle of the screen so when you use the ak and the recoil move the cursor from the middle does the code change it back to the middle? i really dont know what the code does this is just a guess kinda. i would really appreciate if you explain to me. Thank you in advance.
Quote Originally Posted by RaspyxModz View Post
Quick Question Does this code just detected when you left click and then found the positons of the cursor and change it to the middle of the screen so when you use the ak and the recoil move the cursor from the middle does the code change it back to the middle? i really dont know what the code does this is just a guess kinda. i would really appreciate if you explain to me. Thank you in advance.
use mouseEvent. it simulates you moving the mouse downward all the same as if you really did. someone else will chime in and show a better way.
Quote Originally Posted by gogogokitty View Post
use mouseEvent. it simulates you moving the mouse downward all the same as if you really did. someone else will chime in and show a better way.
OK thank you
Rust no recoil script (New to coding)
Im really new to coding and have never learned it I want to make a rust no recoil script someone told me that using C++ is the way to go when making the script/software and Im just wondering if anyone can help me or teach me how to code C++ for rust and how to learn it thank you.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us