OnObjectStreamOut

From Onset Developer Wiki
OnObjectStreamOut

Type: Event
Context: Client & Server
Introduced: v1.0/1.5.0

Description

Called when an object is streamed out from the server.

Note: On the server you must enable this event with EnableObjectStreamEvents first.

Syntax

OnObjectStreamOut(object)

Parameters

  • object
    The object identifier which streamed out.

Example

Client

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

See also