IsDoorStreamedIn

From Onset Developer Wiki
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