OnObjectStreamOut: Difference between revisions
From Onset Developer Wiki
mNo edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
== Example == | == Example == | ||
<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
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)