#include <NomadMemory.au3>
[/autoit][autoit][/autoit][autoit]Func FreezeMoney()
opt ("MustDeclareVars", 1)
Local $msg, $button, $process, $textfield, $handle, $money
opt ("GUICoordMode", 2)
GUICreate ("Money Freezer", 800, 600)
GUICtrlCreateLabel ("Enter the amount of money you want to have and press freeze:)", 10, 10)
$textfield = GUICtrlCreateInput ("", 0, -10)
$button = GUICtrlCreateButton ("Freeze", 0, -20)
GUISetState()
$msg = GUIGetMsg()
Select
Case $msg = $button
$process = ProcessExists ("hl.exe")
$handle = _MemoryOpen("" & $process & "")
$money = _MemoryRead("0x019E4E9C", "" & $handle & "", "")
_MemoryWrite("0x019E4E9C", "" & $handle & "", "" & $textfield & "")
if $money < $textfield Then
_MemoryWrite("0x019E4E9C", "", "" & $textfield & "")
EndIf
EndSelect
EndFunc
Das ist der Fehlercode... Also wäre cool wenn mir da jemand helfen könnte^^ Ich probier es trotzdem weiter und wenn es gelöst ist schreib ichs drunter