GetAllPackages

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

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

Description

Returns the name of packages in a table.

Syntax

GetAllPackages()

Parameters

  • This function has no parameters.

Return Value

  • This function returns a table with package names.

Example

local packages = GetAllPackages()
print(packages[1]) -- prints your first package in server config

See also