Weapon/GetPrintName

From Garry's Mod
Jump to: navigation, search
 Weapon:GetPrintName( )

Description

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

NOTE

If that returns an untranslated message (#HL2_XX), use language.GetPhrase to see the "nice" name.

NOTE

If SWEP.PrintName is not set in the Weapon or the Weapon Base then "<MISSING SWEP PRINT NAME>" will be returned.

Returns

string

The "nice" name of the weapon.
Personal tools
Navigation