Hey guys...
So I was working on the new version of my S4League trainers... And i wanted to set a HotKey to hide/show the GUI
Since this func killed me every time . . .
The error is:
Func $Hide
Badly formatted func statement
Can someone tell me what I did wrong? Q.Q
So I was working on the new version of my S4League trainers... And i wanted to set a HotKey to hide/show the GUI
Since this func killed me every time . . .
Code:
Global $Paused
HotKeySet( "{F9}", "Hide")
HotKeySet( "{F10}","UnHide")
While 1
Sleep(100)
WEnd
Func $Hide
$Paused = Not $Paused
While $Hide()
GuiSetState(@sw_hide)
MsgBox(-1, "Gui State:", "GUI State:~> |-Hide-|")
WEnd
EndFunc
Func $UnHide()
$Paused = Not $Paused
While $UnHide
GUISetState(@sw_show)
MsgBox(-1, "Gui State:", "GUI State:~> |-Show-|")
WEnd
EndFunc
Func $Hide
Badly formatted func statement
Can someone tell me what I did wrong? Q.Q







