🗃️FileSystem
CreateDir
MTools.FileSystem.CreateDir(path);
Name | Type | Description |
---|---|---|
path |
| Path to directory |
Allows you to create a directory. The Original Way: Counter-Strike Global Offensive
Example usage:
GetGameDirectory
MTools.FileSystem.GetGameDirectory();
Name | Type | Description |
---|---|---|
- | - | - |
Allows you to get a normal path to the game directory.
Example usage:
DeleteFile
MTools.FileSystem:DeleteFile(path, file, auto);
Name | Type | Description |
---|---|---|
path |
| Path to directory |
file |
| File name |
auto |
| Automatically get the path. If true, then only the directory name must be inserted into the path |
Allows you to delete a file by name.
Example usage:
ReadFolder
MTools.FileSystem:ReadFolder(path, auto);
Name | Type | Description |
---|---|---|
path |
| Path to directory |
auto |
| Automatically get the path. If true, then only the directory name must be inserted into the path |
Allows you to get all Files and Directories by path.
Example usage:
Last updated