Garry's Mod Wiki

Entity:GetName

string Entity:GetName()

Description

Returns the mapping name of this entity.

Returns

1 string
The name of the Entity

Example

Prints the name of an entity in console.

function PrintEntityName( ent ) print( ent:GetName() ) end

Page Links


Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 7