EliminatePlayer

Category: Player
Since engine version: 5.1 OC

Description

Eliminates a player. The round counts as 'lost' for all eliminated players.

Syntax

bool EliminatePlayer(int player);

Parameter

player:
Number of the player to be eliminated.

Example

if (!FindObject(Find_ID(Flag), Find_Owner(0))) EliminatePlayer(0);
The first player is eliminated if he has no more flags.
See also: GameOver
Sven2, 2001-11