getWeaponCookable( <weapon name> )


Module: Weapons

Summary:

Returns if the weapon is cookable



Example:

cookable = getWeaponCookable(weaponName);



Required Args:

  • 1 : <weapon name>: (string) The weapon name for this weapon.


Deprecated Args:

  • 1 : <id> Weapon id (available for backwards compatibility). You can get it with getLoadedWeapons()