Garry's Mod Wiki

player.GetByUniqueID

Player player.GetByUniqueID( string uniqueID )

Description

Gets the player with the specified uniqueID (not recommended way to identify players).

It is highly recommended to use player.GetByAccountID, player.GetBySteamID or player.GetBySteamID64 instead as this function can have collisions ( be same for different people ) while SteamID is guaranteed to unique to each player.

Arguments

1 string uniqueID
The Player:UniqueID to find the player by.

Returns

1 Player
Player if one is found, false otherwise.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

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