Cheat Engine = handgun.scn > toygun.scn
Autoit Code :
PHP Code:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Exit
Case $Button1
_Hack()
EndSwitch
WEnd
Func _Hack()
GUISetState(@SW_HIDE)
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$OPEN = _MemoryOpen ($PID)
If GUICtrlRead($Checkbox5) = 1 Then
_MemoryWrite(0x084FF737,$OPEN,"toygun.scn","Char[10]")
EndIf
Exit
EndFunc