GetAllNPC

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GetAllNPC

Type: Function
Context: Server
Introduced: v1.0

Description

Gets all the NPC IDs in a table.

Syntax

GetAllNPC()

Parameters

  • This function has no parameters.

Return Value

  • Returns a table with a list of NPC IDs.

Example

local _npc = GetAllNPC()

See also