IsObjectStreamedIn: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|CHeck whether the specified object is streamed in or not for the player.}}
{{FuncDescription|Check whether the specified object is streamed in or not for the player.}}


{{FuncSyntax|IsObjectStreamedIn(player, object)}}
{{FuncSyntax|IsObjectStreamedIn(player, object)}}

Latest revision as of 14:29, 18 July 2021

IsObjectStreamedIn

Type: Function
Context: Server
Introduced: v1.0

Description

Check whether the specified object is streamed in or not for the player.

Syntax

IsObjectStreamedIn(player, object)

Parameters

  • player
    The player identifier.
  • object
    The object identifier.

Return Value

  • This function returns true on success.

Example

if IsObjectStreamedIn(playerId, objectId) then
    print("The object is streamed in for the player.")
end

See also