OnPlayerStreamOut: Difference between revisions

From Onset Developer Wiki
No edit summary
Chloe (talk | contribs)
m Player server events and description.
Line 1: Line 1:
{{Info|Event|Server & Client|1.0}}
{{Info|Event|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Called when a player streams out of the streaming distance set by [[server_config]] for another player.}}


{{FuncSyntax|OnPlayerStreamOut(player, otherplayer)}}
{{FuncSyntax|OnPlayerStreamOut(player, otherplayer)}}
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{PlayerServerEvents}}

Revision as of 07:51, 16 January 2020

OnPlayerStreamOut

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

Description

Called when a player streams out of the streaming distance set by server_config for another player.

Syntax

OnPlayerStreamOut(player, otherplayer)
Client Syntax
OnPlayerStreamOut(player)

Parameters

  • player
    The player for the other player is streamed out.
  • otherplayer
    The player that streams out for player.

Example

__EDIT_ME__

See also