Call of Duty Script Documentation
hasweapon(<weapon name>)
ModulePlayer
Summary
Checks whether the player has the given weapon.
Call this function on
The player
Example
if(level.player hasweapon("Panzerfaust"))...;
Minimum Number of arguments: 1
1 : <weapon name> The weapon name (a string)
Number of optional arguments: 0
Return to Function List