Difference between revisions of "ScriptHook.GetAllEntities"
From Nomad DB
Line 13: | Line 13: | ||
For '''Mafia DE''': | For '''Mafia DE''': | ||
− | * '''Returns:''' table (C_EntityGuid) | + | * '''Returns:''' table ([[MDE_Scripting:_C_EntityGuid|C_EntityGuid]]) |
== Related Pages == | == Related Pages == |
Latest revision as of 11:21, 28 September 2021
Returns all entities as a Lua table with EntityId.
This function may return up to 8192 elements, which may impact performance.
Syntax
ScriptHook.GetAllEntities()
Integrations
For Watch_Dogs:
- Returns: table (EntityId)
For Mafia DE:
- Returns: table (C_EntityGuid)