diff --git a/README.md b/README.md index 8b9ff95..9d04a61 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ All files will be closed upon GSC restart (map_restart or fast_restart or missio * ` FS_FOpen(, )` Tries to open the file, mode is one of `read`, `write` (clears the file), `append` (appends to the file), returns the filehandle. Will return `0` if failed to open. * `FS_FClose()` Closes the file pointed by the filehandle given, which was returned from `FS_FOpen`. ```gsc + // opens "scriptdata/test.txt", all io will take place inside the "scriptdata" folder f = FS_FOpen("test.txt", "read"); // can be "read" "write" or "append" if (!f)