OnPlayerStateChange

From Onset Developer Wiki
Revision as of 11:19, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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