ScriptEvent:hasWeapon

From Mod Wiki
Revision as of 11:31, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.