GetSteamIDForPlayerID

GetSteamIDForPlayerID command

Returns the SteamID associated with the given PlayerId.

Argument information
  • <Player ID>type: number

    The numeric in-game player ID of the target player (not their Steam ID).

Command builder

Player ID

Examples

This console command returns the Steam ID associated with the player whose in-game player ID is 429083.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.