Garry's Mod Wiki

Player:UserID

  number Player:UserID()

Description

Returns the player's ID. You can use Player() to get the player by their ID.

Returns

1 number
The player's user ID