08-06-2020, 04:54 PM
Great! Thank you Kevin! This works and now i know why and how to use hthread and mac the right way.
I changed the threads all to 1 and added a if command that checks if all the variables (x y and c) are 0 and only ends the thread in that case. When thinking about it, i guess it would be better to have three functions for each hotkey to not waste resources but i can do that easily by myself now.
Thanks again Kevin and TeddyBear for helping me!
I changed the threads all to 1 and added a if command that checks if all the variables (x y and c) are 0 and only ends the thread in that case. When thinking about it, i guess it would be better to have three functions for each hotkey to not waste resources but i can do that easily by myself now.
Thanks again Kevin and TeddyBear for helping me!