GetAllNPC

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