Shakira said:cut ve rgame ma choi qua đây chả ai chỉ mày hack đâu
Momo92 said:Put
in the declaration part of your script.Code:#IfWinActive, GTA:SA:MP
numpad0::
#IfWinActive, GTA:SA:MP
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/ptpc -1816.09 -178.99 9.39{enter}
sleep 50
SendInput t/layvatlieu{enter}
return
Dwayne said:Momo92 said:Put
in the declaration part of your script.Code:#IfWinActive, GTA:SA:MP
not yet man , if you means?
Code:numpad0:: #IfWinActive, GTA:SA:MP SendInput t/layvatlieu{enter} sleep 20000 sendinput t/pcp{enter} sleep 50 sendinput t/ptpc -1816.09 -178.99 9.39{enter} sleep 50 SendInput t/layvatlieu{enter} return
Momo92 said:Dwayne said:Momo92 said:Put
in the declaration part of your script.Code:#IfWinActive, GTA:SA:MP
not yet man , if you means?
Code:numpad0:: #IfWinActive, GTA:SA:MP SendInput t/layvatlieu{enter} sleep 20000 sendinput t/pcp{enter} sleep 50 sendinput t/ptpc -1816.09 -178.99 9.39{enter} sleep 50 SendInput t/layvatlieu{enter} return
Put it at the very top of your script. Or at least before the hotkeys.
#IfWinActive, GTA:SA:MP
numpad0::
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
return
Momo92 said:Yes. That should work.
Shakira said:máy thằng vn ngu lám chỉ nó tận răng hoặc post file lên thì nó tải về thôi , chỉ vậy nó k hiểu cc j đâu =)))))))))))
Dwayne said:Shakira said:máy thằng vn ngu lám chỉ nó tận răng hoặc post file lên thì nó tải về thôi , chỉ vậy nó k hiểu cc j đâu =)))))))))))
thế mày người nước nào?
#occho
Momo92 said:Momo92Ok so with this line #IfWinActive, GTA:SA:MP the following hotkeys are only executed when the GTA window is active. If something doesn't work then please give a detailed explanation of what is going on and maybe post the important part of your script or an example of what you did.
SetTitleMatchMode, 2 ; This let's any window that partially matches the given name get activated
#IfWinActive, Chrome
F1::MsgBox You are currently using Google Chrome
#IfWinActive, Notepad
F1::MsgBox You are currently using Notepad
#IfWinActive, Firefox
F1::MsgBox You are currently using Firefox
#IfWinActive, ABBY Screenshot Reader
F1::MsgBox You are currently using ABBY Screenshot Reader
#If
F1::MsgBox You are currently using a program that is not Chrome, Notepad, Firefox, or ABBY Screenshot Reader.
MDA said:i found this on ahk forum
Code:SetTitleMatchMode, 2 ; This let's any window that partially matches the given name get activated #IfWinActive, Chrome F1::MsgBox You are currently using Google Chrome #IfWinActive, Notepad F1::MsgBox You are currently using Notepad #IfWinActive, Firefox F1::MsgBox You are currently using Firefox #IfWinActive, ABBY Screenshot Reader F1::MsgBox You are currently using ABBY Screenshot Reader #If F1::MsgBox You are currently using a program that is not Chrome, Notepad, Firefox, or ABBY Screenshot Reader.