OnPlayerStateChange
From Onset Developer Wiki
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__