Hello everyone,
I've made a simple AutoHotkey script, which (in my opinion) might be helpful, when driving multiplayer, especially with Winter Mod. It checks signal from driving wheel controller, checks if i pressed the brake to maximum, and if so activates fast hazard warning lights, much faster then normal. But I'm not sure if it is legal to use such a thing on TruckersMP. It doesn't affect anything pointed in §2.1 of in-game rules. I would like to know opinion of any staff member, if it is possible. Here is this code:
#Persistent ; Keep this script running until the user explicitly exits it.
SetTimer, WatchAxis, 5
return
If (b!=0)
i:=0p
b:=0
WatchAxis:
JoyR := GetKeyState("JoyR") ; Get position of R axis.
If (JoyR=0)
{
clicks++
Send, p
SoundBeep, 1000, 150
Send, p
SoundBeep, 1000, 150
i++
}
If (i!=0) and (JoyR>0) and (clicks>5)
{
sleep 200
Send, p
i:=0
clicks:=0
}
m::ExitApp
return
I'm sorry for my grammatical and spelling mistakes, I'm not native speaker and still learning English :).