Garry's Mod Wiki
Description
We advise against using this. It may be changed or removed in a future update.
This function has collisions, where more than one player can have the same UniqueID. It is highly recommended to use Player:SteamID64, Player:SteamID or Player:AccountID instead, which are guaranteed to be unique to each player.
This function has collisions, where more than one player can have the same UniqueID. It is highly recommended to use Player:SteamID64, Player:SteamID or Player:AccountID instead, which are guaranteed to be unique to each player.
Returns a 32 bit integer that remains constant for a player across joins/leaves and across different servers. This can be used when a string is inappropriate - e.g. in a database primary key.
In Singleplayer, this function will always return 1.
In a
Issue Tracker: 6389
-multirun environment, the value returned is different on the serverside and clientside.Issue Tracker: 6389
Returns
Example
Example
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...