Jump to content
Sign in to follow this  
jammu

Hotkeys not following to game.

Recommended Posts

jammu

Yeah, i now got my hotkeys working perfect but now theres another problem, script wont start when i go to game but when im not in game, they are working. I hope you understand.

This is my code:

HotKeySet("{INSERT}", "StartProg")
HotKeySet("{END}", "ExitProg")
Func StartProg()
While 1
sleep(300)
MouseClick("left",463, 216)
sleep(300)
MouseClick("left",964, 752)
sleep(300)
MouseClick("left",964, 752)
sleep(300)
MouseClick("left",492, 215)
Sleep(300)
MouseClick("left",970, 753)
WEnd
EndFunc
Func ExitProg()
    Exit
EndFunc

Share this post


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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.