OnPlayerServerAuth: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerServerAuth}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}"
 
No edit summary
Line 1: Line 1:
{{Info|Event|Server|1.0}}
{{Info|Event|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Server has authorized a client and allocated a player identifier to them. The player is now downloading packages from the server. Called after [[OnClientConnectionRequest]] but before [[OnPlayerJoin]].}}


{{FuncSyntax|OnPlayerServerAuth}}
{{FuncSyntax|OnPlayerServerAuth(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|The player who was given authorization to connect.}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__

Revision as of 22:46, 22 March 2019

OnPlayerServerAuth

Type: Event
Context: Server
Introduced: v1.0

Description

Server has authorized a client and allocated a player identifier to them. The player is now downloading packages from the server. Called after OnClientConnectionRequest but before OnPlayerJoin.

Syntax

OnPlayerServerAuth(player)

Parameters

  • player
    The player who was given authorization to connect.

Example

__EDIT_ME__

See also

Player

Vehicle

Game

Package

NPC

Object

Pickup

Text3D

Door