OnPlayerStateChange

From Onset Developer Wiki
OnPlayerStateChange

Type: Event
Context: Server
Introduced: v1.0

Description

Called when the player state changes. PlayerState

Syntax

OnPlayerStateChange(player, newstate, oldstate)

Parameters

  • player
    The player who changes state.
  • newstate
    The new state of the player.
  • oldstate
    The old state of the player.

Example

__EDIT_ME__

See also