GetPackageFiles

From Onset Developer Wiki
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