GetStreamedObjects

From Onset Developer Wiki
Revision as of 15:53, 8 January 2021 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetStreamedObjects

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the streamed in objects for the local player.

Syntax

GetStreamedObjects( [, bGetAttached])

Parameters

  • bGetAttached (optional)
    Get the attached objects

Return Value

  • Returns a table with streamed in object identifiers as values.

Example

for k, v in pairs(GetStreamedNPC()) do
    AddPlayerChat("Table key "..k..": npcid: "..v)
end

See also