Edit

Share via


PlayerSpawnAfterEvent Class

An event that contains more information about a player spawning.

Properties

initialSpawn

initialSpawn: boolean;

If true, this is the initial spawn of a player after joining the game.

Type: boolean

Notes:

  • This property can't be edited in restricted-execution mode.

player

player: Player;

Object that represents the player that joined the game.

Type: Player

Notes:

  • This property can't be edited in restricted-execution mode.