Garry's Mod Wiki

Player

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.

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 7