Code: Select all
#Persistent
#SingleInstance Force
Launchh = 0
start:
:?:opena::
if (Launchh == 0){
Run, C:\Users\****\Desktop\AHK\AntiRP.exe
Sleep 500
Run, C:\Users\****\Desktop\AHK\Guns.exe
Sleep 500
Run, C:\Users\****\Desktop\AHK\Phone.exe
Sleep 500
Run, C:\Users\****\Desktop\AHK\Крик.exe
Sleep 50
Launchh = 1
Sleep 50
goto start
}else{
ExitApp, AntiRP.ahk
Sleep 500
ExitApp, Guns.ahk
Sleep 500
ExitApp, Phone.ahk
Sleep 500
ExitApp, Крик.ahk
Sleep 50
Launchh = 0
goto start
}
return
[Mod edit: [code][/code] tags fixed.]