OnDoorStreamOut: Difference between revisions

From Onset Developer Wiki
Voltaism (talk | contribs)
Create OnDoorStreamOut
 
Voltaism (talk | contribs)
mNo edit summary
 
Line 9: Line 9:


== Example ==
== Example ==
===Client===
<syntaxhighlight lang='Lua'>
<syntaxhighlight lang='Lua'>
AddEvent("OnDoorStreamOut", function (door)
AddEvent("OnDoorStreamOut", function (door)

Latest revision as of 12:57, 2 October 2021

OnDoorStreamOut

Type: Event
Context: Client
Introduced: v1.0

Description

Called when a door is streamed out from the server.

Syntax

OnDoorStreamOut(door)

Parameters

  • door
    The door identifier which streamed out.

Example

AddEvent("OnDoorStreamOut", function (door)
    AddPlayerChat("You streamed out the door ID "..door..".")
end)

See also