PlayerClient
A player's client instance. Inherits from the shared PlayerClient class.
Player Class Hierarchy
The diagram shows the inheritance hierarchy of player-related classes. To navigate between classes:
- Get a
PlayerClient
- Get the
NetPlayer
from aPlayerClient
using:GetNetPlayer()
Class Instance Methods
Inherited Methods
From PlayerClient
:
PlayerClient:GetNetPlayer(): NetPlayer
Returns the NetPlayer associated with this PlayerClient.
PlayerClient:GetNick(): string
Returns the player's nickname as a string.
PlayerClient:GetSteamId(): string
Returns the player's Steam ID as a string.
PlayerClient:GetNetId(): number
Returns the player's network ID as a number.
PlayerClient:GetPing(): number
Returns the player's ping as a number.