Weapon.GetPrintName
From GMod Wiki
Function | |
Syntax | Weapon:GetPrintName( ) |
Description: | |
Returns the name of the weapon as it shows up in your weapon menu. | |
Returns: | String |
In Object: | Weapon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.GetPrintName]Weapon.GetPrintName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Output the name of weapon the player 'ply' is holding. |
---|---|
Used on | |
Code | print(ply:GetActiveWeapon( ):GetPrintName()) |
Output | N/A |