Call of Duty Script Documentation

weapontype(<weapon name>)


Module
Weapons


Summary


Returns the type of weapon that this weapon is

Example


if (weapontype("mosin_nagant_sniper") == "rifle")...;

Minimum Number of arguments: 1


Number of optional arguments: 0



Return to Function List