mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-19 21:22:54 +00:00
Update README.md
This commit is contained in:
parent
4963a9180a
commit
d1a0277861
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
|
// 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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user