Returns all entities as a Lua table with EntityId.
ScriptHook.GetAllEntities()
For Watch_Dogs:
For Mafia DE: