GetAllNPC

From Onset Developer Wiki
Revision as of 18:56, 19 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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