Update README.md

This commit is contained in:
INeedGames 2023-12-03 15:35:03 -06:00 committed by GitHub
parent 4963a9180a
commit d1a0277861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,18 @@ All files will be closed upon GSC restart (map_restart or fast_restart or missio
// close the file // close the file
``` ```
* `<array of strings> FS_ListFiles(<folder string>, <recurse bool>(optional))` Returns a list of files inside of the folder given. Can recurse if set to `true`.
```gsc
files = FS_ListFiles("testfolder/");
for (i = 0; i < files.size; i++)
{
file - files[i]; // will be "testfolder/<filename>"
// do something with the filename
}
```
# Installation # Installation
Move the `t4sp-server-plugin.dll` to `%LOCALAPPDATA%\Plutonium\storage\t4\plugins\`, the plugin will be loaded when you start up a dedicated server for Plutonium T4SP. Move the `t4sp-server-plugin.dll` to `%LOCALAPPDATA%\Plutonium\storage\t4\plugins\`, the plugin will be loaded when you start up a dedicated server for Plutonium T4SP.