Skip to content

Commit

Permalink
ran script
Browse files Browse the repository at this point in the history
  • Loading branch information
mardaravicius committed Nov 2, 2024
1 parent bb52c60 commit cbe52a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/general/xs/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ Parameters:

1. (Optional) `#!cpp bool append`: Default: `#!cpp true`. If set to `#!cpp false`, this will overwrite any existing file with the same name.

Creates a new (or appends to an existing) `.xsdat` file with the same name as the RMS/scenario being played. After invoking this function, the writing functions can be used to write data to the file. Returns `#!cpp true` if the file was successfully created. In a multiplayer game file is created for each player, and subsequent writes will be duplicated to each player.
Creates a new (or appends to an existing) `.xsdat` file with the same name as the RMS/scenario being played. After invoking this function, the writing functions can be used to write data to the file. Returns `#!cpp true` if the file was successfully created. In a multiplayer game a file is created for each player, and subsequent writes will be duplicated to each player.

### 6.3. xsGetDataTypeSize

Expand Down Expand Up @@ -1110,7 +1110,7 @@ Parameters:

1. `#!cpp string filename`: The name of the file to open, without the `.xsdat` extension

Opens an existing `.xsdat`file in read only mode. After invoking this function, the reading functions can be used to read data from the file. Returns `#!cpp true` if the file was successfully opened. In a multiplayer game all players files are read, and if any of them contain different data that can cause desync errors.
Opens an existing `.xsdat`file in read only mode. After invoking this function, the reading functions can be used to read data from the file. Returns `#!cpp true` if the file was successfully opened. In a multiplayer game, the file being read must exist for all players and contain the same data to avoid an out of sync error

### 6.8. xsReadFloat

Expand Down

0 comments on commit cbe52a4

Please sign in to comment.