GetPlayerId
- Parameters
whichPlayer playerTarget 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 (suggest an edit or discuss on Github)
- return type
integer- Source code
constant native GetPlayerId takes player whichPlayer returns integer