OnDoorStreamOut: Difference between revisions
From Onset Developer Wiki
Create OnDoorStreamOut |
mNo edit summary |
||
Line 9: | Line 9: | ||
== Example == | == Example == | ||
<syntaxhighlight lang='Lua'> | <syntaxhighlight lang='Lua'> | ||
AddEvent("OnDoorStreamOut", function (door) | AddEvent("OnDoorStreamOut", function (door) |
Latest revision as of 12:57, 2 October 2021
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)