IsPlayerStreamedIn

From Onset Developer Wiki
IsPlayerStreamedIn

Type: Function
Context: Server
Introduced: v1.0

Description

Check if the player B (otherid) is streamed in for player A (player).

Syntax

IsPlayerStreamedIn(player, otherid)

Parameters

  • player
    The player identifier for which the other player should be streamed in.
  • otherid
    The player identifier for the player which will be streamed in.

Return Value

  • The function returns true on success.

Example

if IsPlayerStreamedIn(playerId, otherId) then
    AddPlayerChat(playerId, "You have just streamed in other player.")
end

See also