Skip to content

Commit ffd6637

Browse files
⚠️ Revamp links ⚠️
1 parent 8ed3fb5 commit ffd6637

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+222
-208
lines changed

elements/Matrix/Matrix.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'matrix'
22
description: |
3-
Matrices are one of the most powerful features of MTA [OOP](/OOP_Introduction). We did have a presence of Matrices before with [getElementMatrix](/getElementMatrix), but we were given an ugly disgusting table to play with. Now, with the new Matrix class, we can make and magically manipulate Matrices.
3+
Matrices are one of the most powerful features of MTA [OOP](/reference/OOP). We did have a presence of Matrices before with [getElementMatrix](/getElementMatrix), but we were given an ugly disgusting table to play with. Now, with the new Matrix class, we can make and magically manipulate Matrices.
44
55
oop_only_methods:
66
- name: create

elements/Server/console.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ description: |
99
preview_images:
1010
- path: 'server_console_help.jpg'
1111
description: 'Help output inside server console:'
12-
13-
# see_also:
14-
# - 'article:Server_Commands'

elements/Vector/Vector2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'vector2'
22
description: |
3-
This is a 2D [Vector](/Vector) class.
3+
This is a 2D [Vector](/reference/Vector) class.
44
oop_only_methods:
55
- name: create
66
description: |

elements/Vector/Vector3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Vector3
22
type: class
33
description: |
4-
Represents a 3D [Vector](/Vector). Used for storing and manipulating three-dimensional coordinates (x, y, z).
4+
Represents a 3D [Vector](/reference/Vector). Used for storing and manipulating three-dimensional coordinates (x, y, z).
55
oop_only_methods:
66
- name: create
77
description: |

elements/Vector/Vector4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Vector4
22
type: class
33
description: |
4-
Represents a 4D [Vector](/Vector).
4+
Represents a 4D [Vector](/reference/Vector).
55
oop_only_methods:
66
- name: create
77
description: |

functions/File/fileCopy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ shared: &shared
33
notes:
44
- type: 'tip'
55
content: |
6-
If you do not want to share the content of the created file with other servers, prepend the file path with @ (See [[filepath]] for more information).
6+
If you do not want to share the content of the created file with other servers, prepend the file path with @ (See [Filepath](/reference/Filepath) for more information).
77
oop:
88
element: file
99
static: true

functions/File/fileCreate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ shared: &shared
66
To prevent memory leaks, ensure each successful call to [[fileCreate]] has a matching call to [[fileClose]].
77
- type: 'tip'
88
content: |
9-
If you do not want to share the content of the created file with other servers, prepend the file path with @ (See [[filepath]] for more information).
9+
If you do not want to share the content of the created file with other servers, prepend the file path with @ (See [Filepath](/reference/Filepath) for more information).
1010
- type: 'important'
1111
content: |
1212
It is important to remember to close a file after you've finished all your operations on it, especially if you've been writing to the file. If you don't close a file and your resource crashes, all changes to the file may be lost.

functions/File/fileDelete.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ shared: &shared
99
- name: 'filePath'
1010
type: 'string'
1111
description: |
12-
The [filepath](/filepath) of the file to delete in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.
12+
The [Filepath](/reference/Filepath) of the file to delete in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.
1313
For example, if you want to delete a file name "myFile.txt" in the resource 'fileres', it can be deleted from another resource this way: `fileDelete(":fileres/myFile.txt")`.
1414
If the file is in the current resource, only the file path is necessary, e.g. `fileDelete("myFile.txt")`.
1515
returns:

functions/File/fileExists.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ shared: &shared
99
- name: 'filePath'
1010
type: 'string'
1111
description: |
12-
The [filepath](/filepath) of the file, whose existence is going to be checked, in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is checked to be in, and 'path' is the path from the root directory of the resource to the file.
12+
The [Filepath](/reference/Filepath) of the file, whose existence is going to be checked, in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is checked to be in, and 'path' is the path from the root directory of the resource to the file.
1313
For example, if you want to check whether a file named 'myfile.txt' exists in the resource 'mapcreator', it can be done from another resource this way: `fileExists(":mapcreator/myfile.txt")`.
1414
If the file, whose existence is going to be checked, is in the current resource, only the file path is necessary, e.g. `fileExists("myfile.txt")`. Note that you must use forward slashes '/' for the folders, backslashes '\' will return false.
1515
returns:

functions/File/fileOpen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ shared: &shared
1111
- name: 'filePath'
1212
type: 'string'
1313
description: |
14-
The [filepath](/filepath) of the file in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.
14+
The [Filepath](/reference/Filepath) of the file in the following format: `:resourceName/path`. `resourceName` is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.
1515
For example, if there is a file named `coolObjects.txt` in the resource `objectSearch`, it can be opened from another resource this way: `fileOpen(":objectSearch/coolObjects.txt")`.
1616
If the file is in the current resource, only the file path is necessary, e.g. `fileOpen("coolObjects.txt")`.
1717
- name: 'readOnly'

0 commit comments

Comments
 (0)