End Game Mode
Battlefield 6 Scripting Docs / mod / mod / EndGameMode
function EndGameMode(player): void;
Defined in: mod/index.d.ts:20368
Ends the current gamemode and designates the provided Player or Team as the winner. The gamemode ends in draw if Team is set to 0.
| Parameter | Type |
|---|---|
player |
Player |
void
function EndGameMode(team): void;
Defined in: mod/index.d.ts:20371
Ends the current gamemode and designates the provided Player or Team as the winner. The gamemode ends in draw if Team is set to 0.
| Parameter | Type |
|---|---|
team |
Team |
void