OnObjectStreamOut: Difference between revisions

From Onset Developer Wiki
mNo edit summary
No edit summary
Line 9: Line 9:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang='Lua'>
AddEvent("OnObjectStreamOut", function (object)
    AddPlayerChat("You streamed out the object ID "..object..".")
end)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ObjectClientEvents}}
{{ObjectClientEvents}}

Revision as of 18:05, 16 January 2020

OnObjectStreamOut

Type: Event
Context: Client
Introduced: v1.0

Description

Called when an object is streamed out from the server.

Syntax

OnObjectStreamOut(object)

Parameters

  • object
    The object identifier which streamed out.

Example

AddEvent("OnObjectStreamOut", function (object)
    AddPlayerChat("You streamed out the object ID "..object..".")
end)

See also