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| | {{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
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
- OnPlayerServerAuth
- OnPlayerSteamAuth
- OnPlayerDownloadFile
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerPickupHit
- OnPlayerJoin
- OnPlayerQuit
- OnPlayerSpawn
- OnPlayerDeath
- OnPlayerWeaponShot
- OnPlayerDamage
- OnPlayerChat
- OnPlayerChatCommand
- OnPlayerInteractDoor
- OnPlayerChangeDimension
Vehicle
- OnPlayerEnterVehicle
- OnPlayerLeaveVehicle
- OnPlayerStateChange
- OnVehicleRespawn
- OnVehicleStreamIn
- OnVehicleStreamOut
- OnVehicleDamage
- OnVehicleChangeDimension
- OnVehicleCreated
- OnVehicleDestroyed
Game
Package
NPC
- OnNPCReachTarget
- OnNPCDamage
- OnNPCSpawn
- OnNPCDeath
- OnNPCStreamIn
- OnNPCStreamOut
- OnNPCChangeDimension
- OnNPCCreated
- OnNPCDestroyed
Object
- OnObjectStopMoving
- OnObjectChangeDimension
- OnObjectCreated
- OnObjectDestroyed
- OnObjectStreamIn
- OnObjectStreamOut