RenamePlayerId

RenamePlayerId command

Renames the player identified by their in-game player ID (<PlayerID>) to <NewName>.

Argument information
  • <Player ID>type: number

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

  • <New Name>type: text

    The new name to set — wrap it in double quotes if it contains spaces.

Command builder

Player ID
New Name

Examples

This console command renames the player with in-game player ID 429083 to Roberto.

Using cheats on a server

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