native custom_weapon_add(const wpnname[], melee = 0, const logname[] = "");
wpnname | Full weapon name |
melee | If nonzero the weapon will be considered a melee weapon |
logname | Weapon short name |
Adds a custom weapon to the stats system.
The weapon name should be the full display name of the gun such as "Desert Eagle" while the logname should be "weapon_deagle".
Cusom weapon id (>0) on success, 0 if no more custom weapons can be added
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.