Jump to content
  • 0
Riczard Chamont

Usage of AutoHotkey script

Question

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 :). 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hello there! :)

 

Your topic has been inactive for 5 days since the last reply.
Because of Inactivity, I will have to move this topic to Inactive Topics.
If you still have any questions about this, feel free to DM me or our Support Team members and we will open this Topic again.
Thanks to all for participation!

 

Kind regards

Linciano

TruckersMP Support

 

//Locked and Moved to Inactive

Share this post


Link to post
Share on other sites
  • 0

Hello there.

 

Due to this topic not wanting to be opened after 1 week of being Inactive, i will have to moved it to Unsolved Topics.

If you are still having issues, feel free to contact us here: https://truckersmp.com/support

Kind Regards,

Savage

TruckersMP Support

 

//Moved to Unsolved Topics

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...