Difference between revisions of "OnObjectStreamOut"

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

Latest revision as of 19: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