IsDoorStreamedIn

From Onset Developer Wiki
Revision as of 09:44, 8 March 2020 by 28days (talk | contribs) (Created page with "{{Info|Function|Server|1.1.0}} {{FuncDescription|Checks if stated Door is streamed in for the player}} {{FuncSyntax|IsDoorStreamedIn(player, doorId)}} {{FuncParameters}} {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IsDoorStreamedIn

Type: Function
Context: Server
Introduced: v1.1.0

Description

Checks if stated Door is streamed in for the player

Syntax

IsDoorStreamedIn(player, doorId)

Parameters

  • player
    Player which you want to check
  • doorId
    Door which you want to check

Return Value

  • Returns true on success.

Example

if IsDoorStreamedIn(player, doorId) then
	AddPlayerChat(player, "The doorId " .. doorId .. " is streamed in for you.")
end


See also