GetStreamedDoors: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetStreamedDoors()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Examp..."
 
28days (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the streamed in doors IDs in a table.}}


{{FuncSyntax|GetStreamedDoors()}}
{{FuncSyntax|GetStreamedDoors()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns a table.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local doors = GetStreamedDoors()
 
if #doors == 0 then
    -- no streamed in doors
end
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{DoorFunctions}}

Latest revision as of 19:49, 31 December 2019

GetStreamedDoors

Type: Function
Context: Client
Introduced: v1.0

Description

Get the streamed in doors IDs in a table.

Syntax

GetStreamedDoors()

Parameters

  • This function has no parameters.

Return Value

  • This function returns a table.

Example

local doors = GetStreamedDoors()

if #doors == 0 then
    -- no streamed in doors
end

See also