GetPlayerByName

Category: Player
Since engine version: 1.0 OC

Description

Returns the number of the given player or -1 if there is no such player.

Syntax

int GetPlayerByName(string player_name);

Parameter

player_name:
Name of the player
See also: GetPlayerByIndex, GetPlayerName
Newton, 2009-07