Garry's Mod Wiki

Player

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.

Special Pages


Wikis

?

Render Time: 58ms

DB GetPage 39
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6