Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- #Warn
- SendMode Input
- ;SendMode Play
- SetWorkingDir %A_ScriptDir%
- #InstallMouseHook
- #InstallKeybdHook
- #MaxThreadsBuffer on
- #MaxHotkeysPerInterval 999
- #MaxThreadsPerHotkey 2
- #IfWinActive, ahk_class CryENGINE
- HUD = 0
- toggle = 0
- XButton1:: ;Define button used, this is "back" on mouse
- Toggle := !Toggle
- While Toggle{
- sendinput, {4 down} ;uses weapon group 4
- sleep 150 ;duration that flamers are on.
- sendinput, {4 up}
- sleep 250 ;duration that flamers are off.
- sendinput, {4 down}
- sleep 150
- sendinput, {4 up}
- sleep 250
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement