ScriptEvent:hasWeapon

From Mod Wiki

Jump to: navigation, search

Contents

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.

Personal tools