Player.UniqueID
From GMod Wiki
| Function | |
| Syntax | Player:UniqueID( ) | 
| Description: | |
| Retrieves the players unique ID. | |
| Returns: | Integer | 
| In Object: | Player | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.UniqueID]Player.UniqueID [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
Additional Notes
- Since SteamIDs contain the ':' character, they cannot be used as a filename for file.Write. As UniqueIDs are just numbers, they can be. Be aware you can't reverse the UniqueID back to a Steam ID.
- This number is based off the IP for LAN servers, and the steamid for internet servers.
-  This function is equivalent to util.CRC("gm_" .. ply:SteamID() .. "_gm") 
- Playing single player will give you the number 1! create a multiplayer game before using this.
- This function is relatively slow. Don't call it too many times per a frame and don't use it in big loops.
 
			
			