ScriptHook.GetEntityComponents

From Nomad DB
Revision as of 12:11, 2 August 2020 by Jan (talk | contribs) (Created page with "Returns a list of Entity Components of the Entity. If you only need to check for one component, consider using ScriptHook.EntityHasComponent inst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a list of Entity Components of the Entity. If you only need to check for one component, consider using ScriptHook.EntityHasComponent instead.

Syntax

ScriptHook.GetEntityComponents(entityId)
  • entityId: EntityId
  • Returns: table of string

Related Pages