Originally Posted by
Se-Mi
That makes two of us...
- - - Updated - - -
Im using the following scripts as a basic to start from, but i get a lot of muzzle drift to the right.
Is there a way to counter this, and if yes, how can i do it?
Thanks
<script>EnablePrimaryMouseButtonEvents(true);
local recoil = not true;
function OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 9) then
recoil = not recoil
OutputLogMessage("SCAR-H + RDS", 2014)
end
if IsMouseButtonPressed(3) and recoil then
Sleep(1)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1) then
Sleep(48)
ReleaseMouseButton(1)
Sleep(48)
MoveMouseRelative(-1,21)
MoveMouseRelative(1,0)
Sleep(48)
ReleaseMouseButton(1)
Sleep(48)
MoveMouseRelative(-1,19)
MoveMouseRelative(1,0)
repeat
Sleep(48)
ReleaseMouseButton(1)
Sleep(48)
MoveMouseRelative(-1,14)
MoveMouseRelative(1,0)
Sleep(48)
ReleaseMouseButton(1)
Sleep(48)
MoveMouseRelative(0,14)
MoveMouseRelative(1,0)
until not IsMouseButtonPressed(3) or not IsMouseButtonPressed(1)
end
end
end</script>
</profile>
</profiles>