Garry's Mod Wiki

Revision Difference

GM:GetDeathNoticeEntityName#553342

<function name="GetDeathNoticeEntityName" parent="GM" type="hook">⤶ <description>⤶ An internal function used to get an untranslated string to show in the kill feed as the entity's name. See <page>GM:SendDeathNotice</page>⤶ </description>⤶ <realm>Server</realm>⤶ <added>2023.09.01</added>⤶ <args>⤶ <arg name="ent" type="Entity">The entity to get a name of.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="string">The untranslated name for given NPC. The translation/localization would happen on the client.</ret>⤶ </rets>⤶ </function>⤶