GetPlayerIDForSteamID

GetPlayerIDForSteamID command

Intended to return the player ID matching a SteamId, but it is bugged: it (and the variant used by ShowMyAdminManager) returns an invalid ID and fails for commands that require a player ID.

Argument information
  • <Steam ID>type: number

    The Steam ID of the target player.

Command builder

Steam ID

Examples

This command attempts to return the in-game player ID matching the Steam ID 76561198092541763. Note that it is bugged: it returns an invalid ID that fails when used with commands that require a player ID.

Using cheats on a server

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