cl_ent_setname Command

Explore usage, syntax, and examples for the cl_ent_setname CS2 developer console command.

cl_ent_setname

CS2 Only

Command

cl_ent_setname

<Entity ID><New Name>

Sets a new target name for a specified entity in the game. Useful for testing and development.

<Entity ID>

The unique ID of the entity you want to rename.

<New Name>

The new target name to assign to the entity.

sv_cheats Required

Yes

Client or Server Command

Client

cl_ent_setname Generator

Command

cl_ent_setname

<Entity ID><New Name>
0/2 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.