Garry's Mod Wiki

Garry's Mod Wiki

  number Player:UserID()

Description

Returns the player's user ID. This number will always be unique, but will reset if the player reconnects. (Always increments for each connecting player)

You can use Player global function to get a player by their user ID.

Returns

1 number
The player's user ID

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...