Garry's Mod Wiki

Entity:SetName

  Entity:SetName( string mappingName )

Description

Sets the mapping name of the entity.

Arguments

1 string mappingName
The name to set for the entity.