player.GetByUniqueID

From Garry's Mod
Jump to: navigation, search
 player.GetByUniqueID( )

Description

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

WARNING

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

string uniqueID

The Player:UniqueID to find the player by.

Returns

Player

Player if one is found, false otherwise.
Personal tools
Navigation