RoundEnding
Gets called when the round is ending.
Start a script section
!-- OnEvent RoundEnding
-- require $evIsAllowed $evLeadingTeam
# Add your instructions here
- Group: ServerEvents
- Cancellable: Yes
- Event data:
RoundEndingEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
$evIsAllowed | bool value | Whether the event is allowed to run. |
$evLeadingTeam | LeadingTeam enum value | The team that is leading or winning the round. |