GetPackageFiles: Difference between revisions
From Onset Developer Wiki
(Created page with "{{Info|Function|Server & Client|1.0}} {{FuncDescription|Returns all files that are registered with a specific package. See packages.}} {{FuncSyntax|GetPackageFiles(Packa...") |
(No difference)
|
Revision as of 17:12, 30 December 2020
Description
Returns all files that are registered with a specific package. See packages.
Syntax
GetPackageFiles(PackageName)
Parameters
- PackageName
The package name.
Return Value
- This function returns a table with the package files.
Example
local packages = GetPackageFiles("default")
print(packages[1]) -- prints the first package file