Player

From Garry's Mod
Jump to: navigation, search
 Player( )

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

number playerIndex

The player index.

Returns

Player

The retrieved player.
Personal tools
Navigation