spamm script not working

Ask gaming related questions (AHK v1.1 and older)
SirDuckington
Posts: 3
Joined: 16 Feb 2018, 07:39

spamm script not working

16 Feb 2018, 07:44

hey so i have a script

F9::
If State=50
State=Off
else
State=50
SetTimer SendKey, %State%
Return

SendKey:
Send F9
Return


it is for GTA V single player a mod i have downlaoded. but instead of spamming F9 it spams "f" and "9"

help?
Rohwedder
Posts: 7623
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: spamm script not working

18 Feb 2018, 01:19

Hallo,
try:

Code: Select all

$F9::
If State=50
	State=Off
else
	State=50
SetTimer SendKey, %State%
Return

SendKey:
Send {F9}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 69 guests