ScriptHook.GetEntityComponents
From Nomad DB
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