mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-19 21:22:54 +00:00
Merge branch 'main' of https://github.com/JezuzLizard/T4SP-Server-Plugin
This commit is contained in:
commit
4843c61e2e
12
README.md
12
README.md
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user