Hehe behind the times Megabyte! Already done all that and my bot is looking better than ever! Thanks for the help you've given me on this forum, really appreciate it all =)
Instead of noping those values to eliminate the autopill from turning off...couldnt you just do this?
Func ActivateAutoPill(int HPPercent,int MPPercent)
While true
Mem_Open = MemoryOpen(ProcessID)
int check = MemoryRead(APActivate, Mem_Open)
if $check != 1 Then
MemoryWrite(APActivate,Mem_Open,1)
MemoryWrite(APhp,Mem_Open,HPPercent)
MemoryWrite(APmp,Mem_Open,MPPercent)
MemoryClose(Mem_Open)
EndIf
WEnd
EndFunc
Instead of noping those values to eliminate the autopill from turning off...couldnt you just do this?
Func ActivateAutoPill(int HPPercent,int MPPercent)
While true
Mem_Open = MemoryOpen(ProcessID)
int check = MemoryRead(APActivate, Mem_Open)
if $check != 1 Then
MemoryWrite(APActivate,Mem_Open,1)
MemoryWrite(APhp,Mem_Open,HPPercent)
MemoryWrite(APmp,Mem_Open,MPPercent)
MemoryClose(Mem_Open)
EndIf
WEnd
EndFunc