OnPlayerStreamOut: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerStreamOut}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}"
 
Chloe (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Info|Event|Server|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}}
{{FuncSyntax|OnPlayerStreamOut(player, otherplayer)}}
{{FuncSyntaxClient|OnPlayerStreamOut(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|The player for the other player is streamed out.}}
{{FuncParam|otherplayer|The player that streams out for player.}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{PlayerEvents}}

Latest revision as of 08:04, 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