ent_setname
🟦 Executable on Server only
ent_setname
Sets the targetname of the given entity(s) Arguments: {new entity name} {entity_name} / {class_name} / no argument picks what player is looking at
Warning:
This is a cheat command and can only be used when sv_cheats
is set to 1
.