🪛
MTools
  • 📷Description
  • ✏️Strings
  • 🔢Numbers
  • 📂Table
  • 📶Network
  • 🍪Client
  • 🗃️FileSystem
  • 🍭Render
  • 🧬Animation
  • 🧸AntiAims
  • ⚙️Threading
  • 💻Panorama
Powered by GitBook
On this page

Network

Download

MTools.Network.Download(link, path, check, bytes);

Name
Type
Description

link

string

URL

path

string

Path to directory

check

boolean

Checking for uniqueness

bytes

number / boolean

Double check, specify true to know the right value.

Allows you to save any type of file downloaded from a direct link to a directory. The Original Way: Counter-Strike Global Offensive Example usage:

MTools.Network.Download(
    "https://fontsforyou.com/downloads/99851-smallestpixel7", 
    "nl\\MTools\\pixel.ttf", 
    true,
    97
);
-- Downloads the font and puts it in the directory.
-- And also checked if there is no file with this name in the directory.
PreviousTableNextClient

Last updated 2 years ago

📶