Garry's Mod Wiki

Garry's Mod Wiki

  Player Player( number playerIndex )

Description

Returns the player with the matching Player:UserID.

For a function that returns a player based on their Entity:EntIndex, see Entity.

For a function that returns a player based on their connection ID, see player.GetByID.

Arguments

1 number playerIndex
The player index.

Returns

1 Player
The retrieved player.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...