ScriptEvent:hasWeapon

From Mod Wiki

Parameters

string name -- Name of the invItemDef to check for.

Result

boolean

Supported By

idPlayer

Functionality

Returns whether the player has the specified weapon in their inventory.