IsDoorStreamedIn: Difference between revisions

From Onset Developer Wiki
(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}} {{...")
 
(No difference)

Latest revision as of 09:44, 8 March 2020

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