GetPackageFiles

From Onset Developer Wiki
Revision as of 17:12, 30 December 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetPackageFiles

Type: Function
Context: Server & Client
Introduced: v1.4.0

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

See also