I want to create a script that will loop the space bar
and when I press a key the loop ends
MTA:SA space loop Topic is solved
- Yakshongas
- Posts: 590
- Joined: 21 Jan 2020, 08:41
Re: MTA:SA space loop Topic is solved
Code: Select all
#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
SendEvent, {Space}
Sleep, 50
}
return
Please mark your topics as solved if you don't need any further help. ![✅](//cdn.jsdelivr.net/emojione/assets/3.1/png/64/2705.png)
Need a little more help? Discord : Yakshongas#9893 🕹
![✅](http://cdn.jsdelivr.net/emojione/assets/3.1/png/64/2705.png)
Need a little more help? Discord : Yakshongas#9893 🕹
Re: MTA:SA space loop
TY1!Yakshongas wrote: ↑22 Mar 2020, 11:00Code: Select all
#MaxThreadsPerHotKey, 2 Toggle :=0 F1:: Toggle :=!Toggle While (Toggle=1) { SendEvent, {Space} Sleep, 50 } return
Who is online
Users browsing this forum: No registered users and 66 guests