Player

From Garry's Mod
Revision as of 05:36, 4 November 2016 by EstevanTH (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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