Garry's Mod Wiki

Weapon:GetPrintName

string Weapon:GetPrintName()

Description

Returns the non-internal name of the weapon, that should be for displaying.

If that returns an untranslated message (#HL2_XX), use language.GetPhrase to see the "nice" name.
If SWEP.PrintName is not set in the Weapon or the Weapon Base then "<MISSING SWEP PRINT NAME>" will be returned.

Returns

1 string
The "nice" name of the weapon.

Page Links


Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 7