This commit is contained in:
ineed bots 2023-12-03 17:19:00 -06:00
commit 4843c61e2e

View File

@ -89,6 +89,18 @@ All files will be closed upon GSC restart (map_restart or fast_restart or missio
// 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
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.