From 9648a38fbe19cbc9568c758382d5f6303aba0251 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Fri, 1 Dec 2023 01:15:54 -0600 Subject: [PATCH] more explain --- README.md | 1 + 1 file changed, 1 insertion(+) 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)