GetPlayerId

Parameters
whichPlayer player

Target player.

comment

Returns player ID of player (which starts with zero; e.g. player red is 0).

note

For one-based WorldEdit-type IDs see: GetConvertedPlayerId. Also: Player.

patch

1.00

Source
common.j
return type
integer
Source code
constant native GetPlayerId             takes player whichPlayer returns integer