Garry's Mod Wiki

GM:GetDeathNoticeEntityName

  string GM:GetDeathNoticeEntityName( Entity ent )

Description

An internal function used to get an untranslated string to show in the kill feed as the entity's name. See GM:SendDeathNotice

Arguments

1 Entity ent
The entity to get a name of.

Returns

1 string
The untranslated name for given NPC. The translation/localization would happen on the client.