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}}" |
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| | {{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}} | ||
{{ | {{PlayerEvents}} |
Latest revision as of 08:04, 16 January 2020
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
- OnPlayerServerAuth
- OnPlayerSteamAuth
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerJoin
- OnPlayerQuit
- OnPlayerSpawn
- OnPlayerDeath
- OnPlayerWeaponShot
- OnPlayerDamage
- OnPlayerChat
- OnPlayerChatCommand
- OnPlayerInteractDoor
- OnPlayWeaponHitEffects
- OnPlayerSwitchCamera
- OnPlayerEnterWater
- OnPlayerLeaveWater
- OnPlayerCrouch
- OnPlayerEndCrouch
- OnPlayerEndFall
- OnPlayerFall
- OnPlayerTalking