Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...