Garry's Mod Wiki

Entity:GetName

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

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 35
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 8