Hello Ladies and Gentleman,
after my old thread was deleted (since I could not prove that my files do not contain any viruses) I decided to give you a script.
To use this script, you need the Logitech Gaming Software.
First, there is only one "No-Recoil" function (further functions will i add later). The "No-Recoil" function compensates for the recoil of the weapons.
1. Right-click on your profile
2.Click "Create Script"
3.Paste my script and save
4. close the window
Press the 5th Mousebutton to switch the function on or off.
When you turn on the function u Need to press the 1st and the 2nd Mousebutton(leftclick and rightclick) to make it run.
Hope you Enyoj it!
Code:
local recoil = false
function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %s\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
recoil = not recoil
if (recoil == true) then
OutputLogMessage("Recoil is On\n")
else
OutputLogMessage("Recoil is Off\n")
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg ==1 and recoil == true and rapidfire == false) then
if IsMouseButtonPressed(1) and IsMouseButtonPressed(3)then
repeat
MoveMouseRelative(-1,6)
Sleep(14)
MoveMouseRelative(1,-6)
Sleep(14)
until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3)
end
end
end