native

zp_weapon_is_custom

Syntax

native zp_weapon_is_custom(wpn_type, weaponid);

Description

Weapon from Weapons menu are internal (from main plugin) or external plugin

Parameters

wpn_type Type of Weapon (Primary/Secondary)
weaponid Weapon Index

Return

True if yes / false otherwise

Error

If Weapon index are invalid