i wrote my first Script for a Game GTA. It is super buggy tho. After the Y Key the Script stops working. Only one time the first Down-Arrow Key worked. The Enter Key never worked. That means, the Key is not blocked, is it?
I tried to write the Script with "ControlSend" but i really dont know how to write the Script with this Command. I tried it, but the Script wont work completely. Maybe it will work with that.
Yes the Game is in Windowed Mode and i Run it as a Administrator. I also tried "SetKeyDelay 0, 200" but it didnt change anything. Can someone help pls?
Code: Select all
Numpad9::
loop, 8
{
Send {E}
Sleep 11000
Send {E}
Sleep 11000
Send {Y}
Sleep 500
Send {Down}
Sleep 500
Send {Down}
Sleep 500
Send {Enter}
Sleep 500
Send {Down}
Sleep 500
Send {Enter}
Sleep 500
Send {Enter}
Sleep 500
Send {Left}
Sleep 500
Send {Down}
Sleep 500
Send {Enter}
Sleep 500
}
return
Code: Select all
SetKeyDelay, 100, 100
Numpad9::
loop, 8
{
ControlSend E
Sleep 11000
ControlSend E
Sleep 11000
ControlSend Y
Sleep 500
ControlSend {down}
Sleep 500
ControlSend {down}
Sleep 500
ControlSend {enter}
Sleep 500
ControlSend {down}
Sleep 500
ControlSend {enter}
Sleep 500
ControlSend {enter}
Sleep 500
ControlSend {left}
Sleep 500
ControlSend {down}
Sleep 500
ControlSend {enter}
Sleep 500
}
return