Nie sprawdzałem.Kod PHP:Const ProcentToHealth = 99 function GetItemFromOpenBackpack(ID: integer): TItem; var x: integer; y: integer; begin Result := nil; for x := 0 to Self.Containers.Count - 1 do begin if x >= Self.Containers.Count then Break; for y := 0 to Self.Containers.Container[x].Count - 1 do begin if y >= Self.Containers.Container[x].Count then Break; if Self.Containers.Container[x].Item[y].ID = ID then begin Result := Self.Containers.Container[x].Item[y]; Exit; end; end; end; end; while not Terminated do begin UpdateWorld; if Self.Health/Self.MaximumHealth*100 < ProcentToHealth then begin Rune := GetItemFromOpenBackpack(3195); if Rune <> nil then begin Rune.UseWithGround(Self.X, Self.Y, Self.Z); Sleep(500); end; end; Sleep(10); end;