get_weaponname

Syntax

native get_weaponname(id, weapon[], len);

Usage

id
Weapon index
weapon
Buffer to copy name to
len
Maximum buffer size

Description

Retrieves the full name of a weapon.

Return

Number of cells written to buffer