Difference between revisions of "ScriptHook.GetAllEntities"
From Nomad DB
(Created page with "Returns all entities as a Lua table with EntityId. {{Warning|This function may return up to 8192 elements, which may impact performance.}} == Syntax == <syntaxhighlight l...") |
|||
Line 1: | Line 1: | ||
+ | {{Page_WD2}} {{Page_WDL}} {{Page_MDE}} | ||
Returns all entities as a Lua table with [[EntityId]]. | Returns all entities as a Lua table with [[EntityId]]. | ||
{{Warning|This function may return up to 8192 elements, which may impact performance.}} | {{Warning|This function may return up to 8192 elements, which may impact performance.}} | ||
Line 7: | Line 8: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | == Integrations == | ||
+ | For '''Watch_Dogs''': | ||
* '''Returns:''' table ([[EntityId]]) | * '''Returns:''' table ([[EntityId]]) | ||
+ | |||
+ | For '''Mafia DE''': | ||
+ | * '''Returns:''' table (C_EntityGuid) | ||
== Related Pages == | == Related Pages == | ||
Line 14: | Line 20: | ||
[[Category:WD2 ScriptHook Lua]] | [[Category:WD2 ScriptHook Lua]] | ||
+ | [[Category:WDL ScriptHook Lua]] | ||
+ | [[Category:MDE ScriptHook Lua]] |