Difference between revisions of "ScriptHook.GetEntityComponents"

From Nomad DB
(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...")
 
(No difference)

Latest revision as of 12:11, 2 August 2020

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