Garry's Mod Wiki

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: 28ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 12