Workshop.codes
Create

Declare Player Victory Last updated November 26, 2024

Description

Instantly ends the match with the specific player as the winner. This action only has an effect in free-for-all modes. If no player is specified, the game will end with the text "WINS!".

Snippet

Declare Player Victory(Event Player);

Properties

Returns: Void
Parameters: Player

Player
Type: Player, Default: Event Player
The winning player.

Workshop.codes